fix: disable frontend service until Phase 4, simplify Caddy proxy

Frontend SvelteKit build has dependency conflicts (Svelte 5 + Vite 8).
Phase 0 setup wizard is served by FastAPI/Jinja2, no frontend needed.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Hyungi Ahn
2026-04-02 13:28:03 +09:00
parent 99821df5c9
commit 16d99011db
2 changed files with 11 additions and 26 deletions

View File

@@ -1,22 +1,7 @@
pkm.hyungi.net { pkm.hyungi.net {
# API + OpenAPI 문서 # Phase 0~3: FastAPI가 모든 요청 처리 (셋업 위자드 포함)
handle /api/* { # Phase 4: 프론트엔드 분리 시 경로별 라우팅 추가
reverse_proxy fastapi:8000 reverse_proxy fastapi:8000
}
handle /docs {
reverse_proxy fastapi:8000
}
handle /openapi.json {
reverse_proxy fastapi:8000
}
handle /health {
reverse_proxy fastapi:8000
}
# 프론트엔드
handle {
reverse_proxy frontend:3000
}
} }
# Synology Office 프록시 # Synology Office 프록시

View File

@@ -51,13 +51,14 @@ services:
- KORDOC_ENDPOINT=http://kordoc-service:3100 - KORDOC_ENDPOINT=http://kordoc-service:3100
restart: unless-stopped restart: unless-stopped
frontend: # frontend: Phase 4에서 SvelteKit 빌드 안정화 후 활성화
build: ./frontend # frontend:
ports: # build: ./frontend
- "3000:3000" # ports:
depends_on: # - "3000:3000"
- fastapi # depends_on:
restart: unless-stopped # - fastapi
# restart: unless-stopped
caddy: caddy:
image: caddy:2 image: caddy:2
@@ -69,7 +70,6 @@ services:
- caddy_data:/data - caddy_data:/data
depends_on: depends_on:
- fastapi - fastapi
- frontend
restart: unless-stopped restart: unless-stopped
volumes: volumes: