Refactor code structure for improved readability and maintainability

This commit is contained in:
DDD1542
2026-03-31 09:34:54 +09:00
parent c465141f53
commit 87498b9940
141 changed files with 6275 additions and 1939 deletions
+14 -19
View File
@@ -1,39 +1,34 @@
services:
# Node.js 백엔드
# Spring Boot 백엔드
backend:
build:
context: ../../backend-node
dockerfile: ../docker/dev/backend.Dockerfile
context: ../../backend-spring
dockerfile: ../docker/dev/backend-spring.Dockerfile
container_name: pms-backend-mac
ports:
- "8080:8080"
- "8081:8081"
extra_hosts:
- "host.docker.internal:host-gateway"
environment:
- NODE_ENV=development
- PORT=8080
- DATABASE_URL=postgresql://postgres:ph0909!!@39.117.244.52:11132/plm
- SPRING_PROFILES_ACTIVE=dev
- SERVER_PORT=8081
- SPRING_DATASOURCE_URL=jdbc:postgresql://39.117.244.52:11132/testvex
- SPRING_DATASOURCE_USERNAME=postgres
- SPRING_DATASOURCE_PASSWORD=ph0909!!
- JWT_SECRET=ilshin-plm-super-secret-jwt-key-2024
- JWT_EXPIRES_IN=24h
- CORS_ORIGIN=http://localhost:9771
- CORS_CREDENTIALS=true
- LOG_LEVEL=debug
- ENCRYPTION_KEY=ilshin-plm-mail-encryption-key-32characters-2024-secure
- KMA_API_KEY=ogdXr2e9T4iHV69nvV-IwA
- ITS_API_KEY=d6b9befec3114d648284674b8fddcc32
- EXPRESSWAY_API_KEY=${EXPRESSWAY_API_KEY:-}
- JWT_EXPIRATION=86400000
- FILE_UPLOAD_DIR=./uploads
volumes:
- ../../backend-node:/app # 개발 모드: 코드 변경 시 자동 반영
- /app/node_modules
- ../../backend-spring:/app
networks:
- pms-network
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/health"]
test: ["CMD", "curl", "-f", "http://localhost:8081/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 60s
start_period: 90s
networks:
pms-network: