From c012f906e79b0b6bfa2f8a9de2bee6e69f8f98c7 Mon Sep 17 00:00:00 2001 From: Ethan Li Date: Mon, 29 Apr 2024 13:15:03 -0700 Subject: [PATCH] Fix Caddy reverse-proxying (forgot to include in #1) --- pkg/compose-frontend.yml | 4 ++-- pkg/compose.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/compose-frontend.yml b/pkg/compose-frontend.yml index 5ab9ad1..ebab295 100644 --- a/pkg/compose-frontend.yml +++ b/pkg/compose-frontend.yml @@ -5,8 +5,8 @@ services: labels: caddy: :80 caddy.redir: /ps/streamlit-demo /ps/streamlit-demo/ - caddy.handle_path: /ps/streamlit-demo/* - caddy.handle_path.reverse_proxy: "{{upstreams 8501}}" + caddy.handle: /ps/streamlit-demo/* + caddy.handle.reverse_proxy: "{{upstreams 8501}}" environment: STREAMLIT_SERVER_BASE_URL_PATH: /ps/streamlit-demo healthcheck: diff --git a/pkg/compose.yml b/pkg/compose.yml index 7a622d9..86fa8e2 100644 --- a/pkg/compose.yml +++ b/pkg/compose.yml @@ -1,6 +1,6 @@ services: server: - image: ghcr.io/planktoscope/streamlit-classification-app:sha-0703263 + image: ghcr.io/planktoscope/streamlit-classification-app:sha-a83b7ea networks: default: