From 9cef119682020fac6cecb956fd3af93a7d0c0850 Mon Sep 17 00:00:00 2001 From: Thomas E Lackey Date: Thu, 8 Feb 2024 19:20:09 -0600 Subject: [PATCH] Fix webapp port. --- .../data/compose/docker-compose-webapp-template.yml | 2 +- stack_orchestrator/deploy/webapp/deploy_webapp.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stack_orchestrator/data/compose/docker-compose-webapp-template.yml b/stack_orchestrator/data/compose/docker-compose-webapp-template.yml index b8697afa..255ebf40 100644 --- a/stack_orchestrator/data/compose/docker-compose-webapp-template.yml +++ b/stack_orchestrator/data/compose/docker-compose-webapp-template.yml @@ -5,4 +5,4 @@ services: environment: CERC_SCRIPT_DEBUG: ${CERC_SCRIPT_DEBUG} ports: - - "3000" + - "80" diff --git a/stack_orchestrator/deploy/webapp/deploy_webapp.py b/stack_orchestrator/deploy/webapp/deploy_webapp.py index aca2df35..4c91dec3 100644 --- a/stack_orchestrator/deploy/webapp/deploy_webapp.py +++ b/stack_orchestrator/deploy/webapp/deploy_webapp.py @@ -44,7 +44,7 @@ def _fixup_url_spec(spec_file_name: str, url: str): - host-name: {parsed_url.hostname} routes: - path: '{parsed_url.path if parsed_url.path else "/"}' - proxy-to: webapp:3000 + proxy-to: webapp:80 ''' spec_file_path = Path(spec_file_name) with open(spec_file_path) as rfile: