Fix variables
This commit is contained in:
+8
-10
@@ -34,12 +34,11 @@ services:
|
||||
ports:
|
||||
- "5000:5000"
|
||||
environment:
|
||||
- DB_HOST=mariadb
|
||||
- DB_PORT=3306
|
||||
- DB_NAME=videodetect
|
||||
- DB_USER=videodetect
|
||||
- DB_HOST=${DB_HOST:-mariadb}
|
||||
- DB_PORT=${DB_PORT:-3306}
|
||||
- DB_NAME=${DB_NAME:-videodetect}
|
||||
- DB_USER=${DB_USER:-videodetect}
|
||||
- DB_PASSWORD=${DB_PASSWORD:-changeme_videodetect}
|
||||
- FLASK_ENV=production
|
||||
volumes:
|
||||
- ./ui:/app
|
||||
- nas_input:/data/input:ro
|
||||
@@ -63,12 +62,11 @@ services:
|
||||
ports:
|
||||
- "3000:3000"
|
||||
environment:
|
||||
- DB_HOST=mariadb
|
||||
- DB_PORT=3306
|
||||
- DB_NAME=videodetect
|
||||
- DB_USER=videodetect
|
||||
- DB_HOST=${DB_HOST:-mariadb}
|
||||
- DB_PORT=${DB_PORT:-3306}
|
||||
- DB_NAME=${DB_NAME:-videodetect}
|
||||
- DB_USER=${DB_USER:-videodetect}
|
||||
- DB_PASSWORD=${DB_PASSWORD:-changeme_videodetect}
|
||||
- DANCER_ENVIRONMENT=production
|
||||
volumes:
|
||||
- ./api:/app
|
||||
networks:
|
||||
|
||||
Reference in New Issue
Block a user