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
|
.env
|
||||||
models
|
|
||||||
node_modules
|
|
||||||
./elements
|
|
||||||
frontend/bower_components
|
|
||||||
pictures
|
|
||||||
db
|
|
||||||
*.db
|
|
||||||
|
@ -4,14 +4,16 @@ services:
|
|||||||
photos:
|
photos:
|
||||||
build: .
|
build: .
|
||||||
image: photos:latest
|
image: photos:latest
|
||||||
container_name: dad-photos
|
container_name: photos
|
||||||
# depends_on:
|
# depends_on:
|
||||||
# - db
|
# - db
|
||||||
restart: always
|
restart: always
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
ports:
|
ports:
|
||||||
- 8135:8123
|
- ${PORT}:${PORT}
|
||||||
volumes:
|
volumes:
|
||||||
- /home/jketreno/.pic-chalkwharf-bk:/pictures
|
- ${PICTURES}:/pictures
|
||||||
- ${PWD}/db:/db
|
- ${PWD}/db:/db
|
||||||
- ${PWD}:/website
|
- ${PWD}:/website
|
||||||
- ${PWD}/models:/root/.deepface
|
- ${PWD}/models:/root/.deepface
|
||||||
|
Loading…
x
Reference in New Issue
Block a user