duckil_plm/docker-compose.dev.yml

58 lines
1.3 KiB
YAML

# docker-compose.dev.yml
# 개발 환경 설정
version: "3.8"
services:
# plm-admin:
# build:
# target: development
# env_file:
# - .env.${NODE_ENV:-development}
# environment:
# - NODE_ENV=${NODE_ENV:-development}
# - NEXT_WEBPACK_USEPOLLING=1
# - WATCHPACK_POLLING=true
# # 개발 환경에서는 healthcheck 비활성화
# volumes:
# - ../../waceplm/uploads:/app/uploads
# # healthcheck:
# # disable: true
plm-app:
build:
target: development
env_file:
- .env.${NODE_ENV:-development}
environment:
- NODE_ENV=${NODE_ENV:-development}
- NEXT_WEBPACK_USEPOLLING=1
- WATCHPACK_POLLING=true
volumes:
- ../../waceplm/uploads:/app/uploads
plm-api:
build:
target: development
env_file:
- .env.${NODE_ENV:-development}
environment:
- NODE_ENV=${NODE_ENV:-development}
volumes:
- ../../waceplm/uploads:/app/uploads
# plm-realtime-api:
# build:
# target: development
# env_file:
# - .env.${NODE_ENV:-development}
# environment:
# - NODE_ENV=${NODE_ENV:-development}
# volumes:
# - ../../waceplm/uploads:/app/uploads
# networks:
# default:
# driver: bridge
# internal:
# driver: bridge