Skip to content

moontechs/google-photos-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  • docker build -t installer -f ./database/Dockerfile ./database

  • docker run -it --rm --network=host -v $(pwd)/database:/data --env-file=.env.local installer task --dir /data install

  • curlie -X POST -u "backend:change123" -H "NS: backup" -H "DB: backup" -H "Accept: application/json" http://localhost:8000/sql -d "select * from users;"

  • docker run -it --rm --network=host -v $(pwd)/database:/data --env-file=.env.local installer task --dir /data create-user email=123@123.com password=change123

  • docker compose -f docker-compose.dev.yml up --remove-orphans

  • docker compose -f docker-compose.dev.yml up --build --remove-orphans

  • docker compose -f docker-compose.dev.yml run setup --dir /data install

  • docker compose -f docker-compose.dev.yml run setup --dir /data create-user email=user@gmail.com password=change123