chore: docker-compose.yml 불필요한 주석 제거
- 배포 모드 관련 주석 제거 (Dockerfile에서 처리) - VITE_API_URL 환경변수 제거 (Vite 프록시 사용) - 문서 업데이트 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
7e9e51666a
commit
a9bdbd1ec2
2 changed files with 1 additions and 17 deletions
|
|
@ -4,14 +4,9 @@ services:
|
|||
container_name: fromis9-frontend
|
||||
labels:
|
||||
- "com.centurylinklabs.watchtower.enable=false"
|
||||
environment:
|
||||
- VITE_API_URL=http://fromis9-backend:80
|
||||
# 개발 모드
|
||||
volumes:
|
||||
- ./frontend:/app
|
||||
- frontend_modules:/app/node_modules
|
||||
# 배포 모드 (사용 시 위 volumes를 주석처리)
|
||||
# volumes: []
|
||||
depends_on:
|
||||
- fromis9-backend
|
||||
networks:
|
||||
|
|
@ -25,12 +20,9 @@ services:
|
|||
- "com.centurylinklabs.watchtower.enable=false"
|
||||
env_file:
|
||||
- .env
|
||||
# 개발 모드
|
||||
volumes:
|
||||
- ./backend:/app
|
||||
- backend_modules:/app/node_modules
|
||||
# 배포 모드 (사용 시 위 volumes를 주석처리)
|
||||
# volumes: []
|
||||
networks:
|
||||
- app
|
||||
- db
|
||||
|
|
|
|||
|
|
@ -89,15 +89,7 @@ EXPOSE 80
|
|||
CMD ["nginx", "-g", "daemon off;"]
|
||||
```
|
||||
|
||||
### 2. docker-compose.yml 수정
|
||||
```yaml
|
||||
# volumes 주석처리
|
||||
# volumes:
|
||||
# - ./frontend:/app
|
||||
# - frontend_modules:/app/node_modules
|
||||
```
|
||||
|
||||
### 3. 빌드 및 실행
|
||||
### 2. 빌드 및 실행
|
||||
```bash
|
||||
docker compose up -d --build
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue