Fixing docker-compose so it can be deployed multiple times

Signed-off-by: James Ketrenos <james_git@ketrenos.com>
This commit is contained in:
James Ketr 2023-01-10 16:47:22 -08:00
parent 1767e807ea
commit f34861421c
3 changed files with 6 additions and 12 deletions

1
.env
View File

@ -1 +0,0 @@
USER_ID=1000:1000

9
.gitignore vendored
View File

@ -1,8 +1 @@
config/local.json
models
node_modules
./elements
frontend/bower_components
pictures
db
*.db
.env

View File

@ -4,14 +4,16 @@ services:
photos:
build: .
image: photos:latest
container_name: dad-photos
container_name: photos
# depends_on:
# - db
restart: always
env_file:
- .env
ports:
- 8135:8123
- ${PORT}:${PORT}
volumes:
- /home/jketreno/.pic-chalkwharf-bk:/pictures
- ${PICTURES}:/pictures
- ${PWD}/db:/db
- ${PWD}:/website
- ${PWD}/models:/root/.deepface