Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make workflow config env var and add new NWN config file #100

Merged
merged 3 commits into from
Sep 13, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .env.template
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,6 @@ INFLUXDB_WRITE_USER_PASSWORD=write9012
INFLUXDB_FRONTEND_ADMIN_USER=front1
INFLUXDB_FRONTEND_ADMIN_USER_PASSWORD=front9012

WORKFLOW_SETTINGS_FILE=./config/workflow_config_nwn_9sept2024.json
MarkTNO marked this conversation as resolved.
Show resolved Hide resolved

LOG_LEVEL=INFO
22 changes: 22 additions & 0 deletions config/workflow_config_nwn_9sept2024.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[
{
"workflow_type_name": "grow_optimizer_no_heat_losses",
"workflow_type_description_name": "Draft Design - Quickscan Validation"
},
{
"workflow_type_name": "grow_optimizer_default",
"workflow_type_description_name": "Draft Design - Optimization"
},
{
"workflow_type_name": "grow_optimizer_with_pressure",
"workflow_type_description_name": "Draft Design - Optimization with Pressure Drops"
},
{
"workflow_type_name": "grow_simulator",
"workflow_type_description_name": "Draft Design - Simulation with Source Merit Order"
},
{
"workflow_type_name": "simulator",
"workflow_type_description_name": "Conceptual Design - Simulation"
}
]
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ services:
networks:
- omotes
volumes:
- "./config/workflow_config_nwn.json:/config/workflow_config.json"
- "${WORKFLOW_SETTINGS_FILE}:/config/workflow_config.json"
environment:
CELERY_RABBITMQ_USERNAME: ${RABBITMQ_CELERY_USER_NAME}
CELERY_RABBITMQ_PASSWORD: ${RABBITMQ_CELERY_USER_PASSWORD}
Expand Down
Loading