Run 8091 and 8092 dashboards with Docker

This commit is contained in:
2026-06-11 16:35:09 +09:00
parent 0c052abfa7
commit 7477a803e9
5 changed files with 83 additions and 35 deletions

View File

@@ -1,13 +1,12 @@
version: "3.9"
services:
manhour-dashboard:
jh-people-8091:
build: .
container_name: manhour-dashboard
container_name: jh-people-8091
ports:
- "8090:8090"
- "8091:8091"
environment:
PORT: "8090"
PORT: "8091"
STARTUP_MAINTENANCE: "1"
MYSQL_HOST: "${MYSQL_HOST:-172.16.42.111}"
MYSQL_PORT: "${MYSQL_PORT:-3306}"
MYSQL_USER: "${MYSQL_USER:-root}"
@@ -20,5 +19,30 @@ services:
INTRANET_LOGIN_ID: "${INTRANET_LOGIN_ID:-G25001}"
INTRANET_LOGIN_PW: "${INTRANET_LOGIN_PW:-00000}"
volumes:
- ./data:/app/data
- ./matching.db:/app/matching.db
restart: unless-stopped
jh-project-8092:
build: .
container_name: jh-project-8092
ports:
- "8092:8092"
environment:
PORT: "8092"
STARTUP_MAINTENANCE: "0"
MYSQL_HOST: "${MYSQL_HOST:-172.16.42.111}"
MYSQL_PORT: "${MYSQL_PORT:-3306}"
MYSQL_USER: "${MYSQL_USER:-root}"
MYSQL_PASSWORD: "${MYSQL_PASSWORD:-hanmacerp!}"
MYSQL_DB: "${MYSQL_DB:-jangheon_manhour}"
ERP_BASE_URL: "${ERP_BASE_URL:-http://erp.jangheon.co.kr/projt_mng}"
ERP_LOGIN_ID: "${ERP_LOGIN_ID:-g25001}"
ERP_LOGIN_PW: "${ERP_LOGIN_PW:-00000}"
INTRANET_BASE_URL: "${INTRANET_BASE_URL:-http://erp.jangheon.co.kr/intranet/}"
INTRANET_LOGIN_ID: "${INTRANET_LOGIN_ID:-G25001}"
INTRANET_LOGIN_PW: "${INTRANET_LOGIN_PW:-00000}"
volumes:
- ./matching.db:/app/matching.db
depends_on:
- jh-people-8091
restart: unless-stopped