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

Live model bug #112

Merged
merged 2 commits into from
Feb 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
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
Loading