Fixing docker-compose so it can be deployed multiple times
Signed-off-by: James Ketrenos <james_git@ketrenos.com>
This commit is contained in:
parent
1767e807ea
commit
f34861421c
9
.gitignore
vendored
9
.gitignore
vendored
@ -1,8 +1 @@
|
||||
config/local.json
|
||||
models
|
||||
node_modules
|
||||
./elements
|
||||
frontend/bower_components
|
||||
pictures
|
||||
db
|
||||
*.db
|
||||
.env
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user