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
reverse_proxy landing:3000
localhost {
reverse_proxy landing:8000
}

View File

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

View File

@@ -10,9 +10,6 @@ RUN pip install -r requirements.txt
# Deploy templates and prepare app
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.
STOPSIGNAL SIGKILL

View File

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