Files
distribution_erp/docker-compose.debug.yml
T
chpark 3e135041ac Initial commit: ILSHIN PLM 프로젝트 소스 코드
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-16 17:49:38 +09:00

47 lines
1.6 KiB
YAML

version: '3.8'
services:
plm-ilshin:
build:
context: .
dockerfile: Dockerfile.dev
container_name: plm-ilshin-debug
ports:
- "9090:8080"
- "5005:5005" # 디버깅 포트
environment:
CATALINA_OPTS: >-
-DDB_URL=jdbc:postgresql://211.115.91.141:11132/ilshin
-DDB_USERNAME=postgres
-DDB_PASSWORD=ilshin0909!!
-Xdebug
-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=0.0.0.0:5005
-Djava.security.egd=file:/dev/./urandom
-Djava.util.logging.config.file=/usr/local/tomcat/conf/logging.properties
-Dorg.apache.catalina.startup.EXIT_ON_INIT_FAILURE=true
-Dlogging.level.org.springframework=INFO
-Dlogging.level.org.apache=WARN
-Dlogging.level.com.pms=DEBUG
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
volumes:
# 실시간 클래스 파일 마운트 (디버깅용)
- ./WebContent/WEB-INF/classes:/usr/local/tomcat/webapps/ROOT/WEB-INF/classes
# JSP 파일 실시간 반영
- ./WebContent/WEB-INF/view:/usr/local/tomcat/webapps/ROOT/WEB-INF/view
# 정적 리소스 실시간 반영
- ./WebContent/css:/usr/local/tomcat/webapps/ROOT/css
- ./WebContent/js:/usr/local/tomcat/webapps/ROOT/js
- ./WebContent/images:/usr/local/tomcat/webapps/ROOT/images
# 데이터 볼륨
- plm-ilshin-project_data:/data_storage
- plm-ilshin-app_data:/path/inside/container
restart: unless-stopped
volumes:
plm-ilshin-project_data:
plm-ilshin-app_data: