mirror of
https://github.com/timmypidashev/web.git
synced 2026-04-14 02:53:51 +00:00
ports are borked
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
localhost
|
||||
{
|
||||
auto_https off
|
||||
}
|
||||
|
||||
encode gzip
|
||||
|
||||
reverse_proxy landing:3000
|
||||
localhost {
|
||||
reverse_proxy landing:8000
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -2,4 +2,4 @@ import reflex as rx
|
||||
|
||||
config = rx.Config(
|
||||
app_name="landing",
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user