feat&fix: update environment configuration for Docker compatibility and enhance result path handling
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user