개발서버 도커 컴포즈 수정

This commit is contained in:
dohyeons 2025-10-30 12:09:22 +09:00
parent c0860359e5
commit 444b2fab2b
1 changed files with 5 additions and 2 deletions

View File

@ -5,7 +5,10 @@ services:
context: ../../backend-node
dockerfile: ../docker/prod/backend.Dockerfile # 운영용 Dockerfile
container_name: pms-backend-prod
network_mode: "host" # 호스트 네트워크 모드
ports:
- "8080:8080" # 호스트:컨테이너 포트 매핑
networks:
- pms-network
environment:
- NODE_ENV=production
- PORT=8080
@ -27,4 +30,4 @@ services:
networks:
pms-network:
driver: bridge
external: true # 외부에서 생성된 네트워크 사용