chore(docker): 운영에서도 프론트엔드 컨테이너 기본 비활성화
CI (Flutter) / Flutter (analyze · test) (push) Has been cancelled
CI / Backend (lint · test · e2e · build) (push) Has been cancelled
CI / Frontend (lint · type-check · test) (push) Has been cancelled
CI / 에러 코드 SSOT 동기화 검사 (push) Has been cancelled

관리자 화면은 아임웹 코드 위젯(imweb/)으로 제공하므로 Vue 프론트엔드를 쓰지 않는다.
그런데 profile 이 dev 오버라이드에만 걸려 있어 운영 배포 때마다 frontend 이미지가
불필요하게 빌드·기동되었다. profile 을 base compose 로 옮겨 개발·운영 모두
backend + db 만 뜨게 하고, 필요할 때만 COMPOSE_PROFILES=frontend 로 켠다.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-05 22:04:35 +09:00
parent b1c6e6c7b6
commit c5440e0cf4
6 changed files with 25 additions and 11 deletions
+7 -1
View File
@@ -1,8 +1,14 @@
services:
# ----------------------------------------
# 1. Frontend (Nginx 정적 호스팅)
# 1. Frontend (Nginx 정적 호스팅) · 기본 비활성
#
# 관리자 화면은 아임웹 코드 위젯(imweb/imweb-members.html)으로 제공하므로
# Vue 프론트엔드는 개발·운영 모두 빌드·기동하지 않는다.
# 루트 .env.{APP_ENV} 에서 COMPOSE_PROFILES=frontend
# 또는 일회성으로 docker compose --profile frontend up -d
# ----------------------------------------
frontend:
profiles: ["frontend"]
container_name: ${PROJECT_NAME}-frontend
build:
context: ./${FRONTEND_DIR}