feat&fix: update environment configuration for Docker compatibility and enhance result path handling

This commit is contained in:
adlsdztony
2025-06-06 02:53:20 +00:00
parent 71e0f1dfdd
commit 2ad48f04d7
3 changed files with 33 additions and 17 deletions

View File

@@ -1,5 +1,3 @@
version: '3'
services:
monitor:
build:
@@ -9,10 +7,11 @@ services:
- "${FLASK_PORT:-8080}:8080"
volumes:
- .:/app/monitor
- ../evaluation_examples:/app/evaluation_examples
- ../results_operator_aws:/app/results_operator_aws
- ${TASK_CONFIG_PATH:-../evaluation_examples/test_all.json}:/app/evaluation_examples/test.json
- ${EXAMPLES_BASE_PATH:-../evaluation_examples/examples}:/app/evaluation_examples/examples
- ${RESULTS_BASE_PATH:-../results_operator_aws}:/app/results
env_file:
- .env
environment:
- FLASK_ENV=production
- MONITOR_IN_DOCKER=true
restart: unless-stopped