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