ports are borked

This commit is contained in:
Timothy Pidashev
2024-03-07 13:40:10 -08:00
parent 9204d1c569
commit 4f93517f9e
4 changed files with 11 additions and 9 deletions

View File

@@ -1,5 +1,7 @@
localhost {
auto_https off
}
encode gzip localhost {
reverse_proxy landing:8000
reverse_proxy landing:3000 }

View File

@@ -8,7 +8,7 @@ services:
- 80:80 - 80:80
- 443:443 - 443:443
volumes: volumes:
- ./Caddyfile.dev:/etc/caddy/Caddyfile:ro - ./Caddyfile.dev:/etc/caddy/Caddyfile:rw
restart: always restart: always
networks: networks:
- proxy - proxy
@@ -18,6 +18,9 @@ services:
landing: landing:
container_name: landing container_name: landing
image: landing:dev image: landing:dev
expose:
- 8000
- 3000
networks: networks:
- proxy - proxy

View File

@@ -10,9 +10,6 @@ RUN pip install -r requirements.txt
# Deploy templates and prepare app # Deploy templates and prepare app
RUN reflex init RUN reflex init
# Download all npm dependencies and compile frontend
RUN reflex export --frontend-only --no-zip
# Needed until Reflex properly passes SIGTERM on backend. # Needed until Reflex properly passes SIGTERM on backend.
STOPSIGNAL SIGKILL STOPSIGNAL SIGKILL

View File

@@ -2,4 +2,4 @@ import reflex as rx
config = rx.Config( config = rx.Config(
app_name="landing", app_name="landing",
) )