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
+1 -10
View File
@@ -13,16 +13,7 @@
} }
<DOMAIN> { <DOMAIN> {
@backend path /api/* /mcp/* reverse_proxy beavergram-api:8080
handle @backend {
reverse_proxy beavergram-api:8080
}
handle {
root * /srv
try_files {path} /index.html
file_server
}
} }
dev.<DOMAIN> { dev.<DOMAIN> {
-1
View File
@@ -10,7 +10,6 @@ services:
- caddy - caddy
volumes: volumes:
- ./Caddyfile:/etc/caddy/Caddyfile - ./Caddyfile:/etc/caddy/Caddyfile
- ../frontend/build:/srv:ro
- caddy_data:/data - caddy_data:/data
env_file: env_file:
- .env - .env
+1
View File
@@ -47,6 +47,7 @@ services:
RUN_ENVIRONMENT: prod RUN_ENVIRONMENT: prod
volumes: volumes:
- ./backend/src:/app/src - ./backend/src:/app/src
- ./frontend/build:/app/static:ro
- ${STORAGE__ROOT:-./storage}:/app/storage - ${STORAGE__ROOT:-./storage}:/app/storage
depends_on: depends_on:
postgres: postgres: