From 80ddde87b2f6edfefd7350056c173d9faddc6f72 Mon Sep 17 00:00:00 2001 From: chpark Date: Sat, 25 Apr 2026 01:46:23 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EB=AA=A8=EB=AA=A8=EC=9C=A0=ED=86=B5=20?= =?UTF-8?q?=EC=9C=A0=ED=86=B5=EA=B4=80=EB=A6=AC=20ERP=EB=A1=9C=20=EB=B8=8C?= =?UTF-8?q?=EB=9E=9C=EB=94=A9/=EC=84=A4=EC=A0=95=20=EC=A0=84=ED=99=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 로그인 화면: 모모유통 + 유통관리 ERP 로고/테마(그린), 본사·지사 주소 및 연락처 표시 - MOMO 로고/파비콘 SVG 추가 - Constants.SYSTEM_TITLE을 "유통관리 ERP", COMPANY_NAME을 "모모유통"으로 변경 - docker-compose 모든 환경(prod/dev/localdev/debug/win) DB 연결을 env 변수로 외부화하고 .env/.env.production에서 로드 - Traefik 라우팅을 momo.junggomoa.com 으로 변경, 컨테이너명 momo-erp로 통일 - .gitignore에 .env.* 패턴 추가(.env.example 제외) — 실제 크리덴셜은 git에 포함하지 않음 Co-Authored-By: Claude Opus 4.7 (1M context) --- .env.example | 8 ++++ .gitignore | 2 + WebContent/WEB-INF/view/login.jsp | 58 +++++++++++++------------ WebContent/images/favicon_momo.svg | 11 +++++ WebContent/images/loginLogo_momo.svg | 25 +++++++++++ docker-compose.debug.yml | 24 +++++----- docker-compose.dev.yml | 20 +++++---- docker-compose.localdev.yml | 20 +++++---- docker-compose.prod.yml | 24 +++++----- docker-compose.win.yml | 28 +++++------- src/com/pms/common/utils/Constants.java | 8 ++-- 11 files changed, 138 insertions(+), 90 deletions(-) create mode 100644 .env.example create mode 100644 WebContent/images/favicon_momo.svg create mode 100644 WebContent/images/loginLogo_momo.svg diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..d42e2dc --- /dev/null +++ b/.env.example @@ -0,0 +1,8 @@ +# Copy this file to .env (local dev) or .env.production (prod) and fill in values. +# These files are gitignored — never commit real credentials. + +DB_HOST=183.99.177.40 +DB_PORT=5432 +DB_NAME=distribution +DB_USERNAME=postgres +DB_PASSWORD=changeme diff --git a/.gitignore b/.gitignore index fcc2b01..2da0dd7 100644 --- a/.gitignore +++ b/.gitignore @@ -16,6 +16,8 @@ Thumbs.db # Docker environment files .env +.env.* +!.env.example env.development env.production diff --git a/WebContent/WEB-INF/view/login.jsp b/WebContent/WEB-INF/view/login.jsp index e653dec..8c690ea 100644 --- a/WebContent/WEB-INF/view/login.jsp +++ b/WebContent/WEB-INF/view/login.jsp @@ -8,16 +8,16 @@ - <%=Constants.SYSTEM_TITLE %> - + 모모유통 | <%=Constants.SYSTEM_TITLE %> +