feat: proper frontend passing

This commit is contained in:
h
2026-06-02 01:39:43 +02:00
parent 3aaa3c757f
commit f688530eac
3 changed files with 2 additions and 11 deletions
-9
View File
@@ -13,18 +13,9 @@
}
<DOMAIN> {
@backend path /api/* /mcp/*
handle @backend {
reverse_proxy beavergram-api:8080
}
handle {
root * /srv
try_files {path} /index.html
file_server
}
}
dev.<DOMAIN> {
reverse_proxy beavergram-frontend:5173
}
-1
View File
@@ -10,7 +10,6 @@ services:
- caddy
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile
- ../frontend/build:/srv:ro
- caddy_data:/data
env_file:
- .env
+1
View File
@@ -47,6 +47,7 @@ services:
RUN_ENVIRONMENT: prod
volumes:
- ./backend/src:/app/src
- ./frontend/build:/app/static:ro
- ${STORAGE__ROOT:-./storage}:/app/storage
depends_on:
postgres: