Split out volumes into separate yamls

Signed-off-by: James Ketrenos <james_eikona@ketrenos.com>
This commit is contained in:
James Ketrenos 2023-01-20 15:35:47 -08:00
parent 162b73ef96
commit bc9a3639a2
4 changed files with 16 additions and 6 deletions

9
development.yml Normal file
View File

@ -0,0 +1,9 @@
version: '3.1'
services:
photos:
volumes:
- ${PWD}/ketrface:/website/ketrface
- ${PWD}/frontend:/website/frontend
- ${PWD}/client:/website/client
- ${PWD}/server:/website/server

View File

@ -25,8 +25,4 @@ services:
- ${PWD}/db:/website/db
- ${PWD}/config/local.json:/website/config/local.json
- /opt/ketrface/models:/root/.deepface
# - ${PWD}:/website
- ${PWD}/ketrface:/website/ketrface
- ${PWD}/frontend:/website/frontend
- ${PWD}/client:/website/client
- ${PWD}/server:/website/server

View File

@ -5,5 +5,5 @@ if [[ -z ${DEVELOPMENT} ]]; then
docker-compose -f docker-compose.yml -f production.yml up -d
else
echo "Launching DEVELOPMENT"
docker-compose up -d
docker-compose -f docker-compose.yml -f development.yml up -d
fi

5
production.yml Normal file
View File

@ -0,0 +1,5 @@
version: '3.1'
services:
photos: