Skip to content

Commit

Permalink
Merge pull request #112 from ImperialCollegeLondon/live-model-bug
Browse files Browse the repository at this point in the history
Live model bug
  • Loading branch information
AdrianDAlessandro authored Feb 9, 2024
2 parents d4d226e + cf4e030 commit ed00002
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def generate_docker_compose(template_file: str, ip: str, develop: bool = False)
"API_URL": f"http://{lines_to_replace['OVE_HOST']}",
"PLOT_URL": f"http://{lines_to_replace['PLOT_URL']}",
"DH_URL": f"http://{lines_to_replace['DH_URL']}",
"LOG_LEVEL": "INFO",
"LOG_LEVEL": "DEBUG",
},
"depends_on": ["nginx"],
}
Expand All @@ -86,7 +86,7 @@ def generate_docker_compose(template_file: str, ip: str, develop: bool = False)
docker_compose["services"]["dash"][
"image"
] = "ghcr.io/imperialcollegelondon/gridlington-vis:latest"
docker_compose["services"]["dash"]["environment"]["LIVE_MODEL"] = True
docker_compose["services"]["dash"]["environment"]["LIVE_MODEL"] = "true"

# Configure logging for nginx
logging.info("Adding volume for nginx logs...")
Expand Down
2 changes: 1 addition & 1 deletion run.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
python configure.py
python3 configure.py
docker-compose up -d
2 changes: 1 addition & 1 deletion run_develop.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
python configure.py develop
python3 configure.py develop
docker-compose up -d

0 comments on commit ed00002

Please sign in to comment.