From e3d9669567b8b613a47c9d9236f609eaef36f573 Mon Sep 17 00:00:00 2001 From: kyounggu Date: Tue, 10 Nov 2026 10:25:18 +0900 Subject: [PATCH] - --- docker-compose.yml | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index c6e806f..db4af23 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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