This commit is contained in:
2026-11-10 10:25:18 +09:00
parent 0288412bbb
commit e3d9669567
+2 -21
View File
@@ -1,9 +1,4 @@
services:
# Nginx Proxy Manager 연동 프로덕션 SSR 컨테이너
# - Domain Names: teacherpick.kr
# - Scheme: http
# - Forward Hostname / IP: teacherpick_frontend
# - Forward Port: 80
teacherpick_frontend:
build:
context: .
@@ -12,8 +7,8 @@ services:
VITE_SITE_ORIGIN: https://teacherpick.kr
container_name: teacherpick_frontend
restart: unless-stopped
ports:
- "${HOST_PORT:-3020}:80"
expose:
- "80"
environment:
- NODE_ENV=production
- PORT=80
@@ -24,17 +19,3 @@ services:
interval: 30s
timeout: 5s
retries: 3
# (선택 사항) 로컬 개발 전용 컨테이너 (--profile dev 실행 시에만 동작)
landing-dev:
image: node:22-alpine
container_name: teacherpick_dev
working_dir: /app
volumes:
- .:/app
- /app/node_modules
ports:
- "5173:5173"
command: sh -c "npm install && npm run dev -- --host 0.0.0.0"
profiles:
- dev