chore: docker-compose.yml 불필요한 주석 제거

- 배포 모드 관련 주석 제거 (Dockerfile에서 처리)
- VITE_API_URL 환경변수 제거 (Vite 프록시 사용)
- 문서 업데이트

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
caadiq 2026-01-19 09:56:20 +09:00
parent 7e9e51666a
commit a9bdbd1ec2
2 changed files with 1 additions and 17 deletions

View file

@ -4,14 +4,9 @@ services:
container_name: fromis9-frontend container_name: fromis9-frontend
labels: labels:
- "com.centurylinklabs.watchtower.enable=false" - "com.centurylinklabs.watchtower.enable=false"
environment:
- VITE_API_URL=http://fromis9-backend:80
# 개발 모드
volumes: volumes:
- ./frontend:/app - ./frontend:/app
- frontend_modules:/app/node_modules - frontend_modules:/app/node_modules
# 배포 모드 (사용 시 위 volumes를 주석처리)
# volumes: []
depends_on: depends_on:
- fromis9-backend - fromis9-backend
networks: networks:
@ -25,12 +20,9 @@ services:
- "com.centurylinklabs.watchtower.enable=false" - "com.centurylinklabs.watchtower.enable=false"
env_file: env_file:
- .env - .env
# 개발 모드
volumes: volumes:
- ./backend:/app - ./backend:/app
- backend_modules:/app/node_modules - backend_modules:/app/node_modules
# 배포 모드 (사용 시 위 volumes를 주석처리)
# volumes: []
networks: networks:
- app - app
- db - db

View file

@ -89,15 +89,7 @@ EXPOSE 80
CMD ["nginx", "-g", "daemon off;"] CMD ["nginx", "-g", "daemon off;"]
``` ```
### 2. docker-compose.yml 수정 ### 2. 빌드 및 실행
```yaml
# volumes 주석처리
# volumes:
# - ./frontend:/app
# - frontend_modules:/app/node_modules
```
### 3. 빌드 및 실행
```bash ```bash
docker compose up -d --build docker compose up -d --build
``` ```