Fix variables

This commit is contained in:
Ryan
2026-09-13 15:15:20 -04:00
parent 01a5e50fcd
commit a9d3143a8e
+8 -10
View File
@@ -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: