This commit is contained in:
@@ -3,8 +3,10 @@ FROM eclipse-temurin:21-jdk-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# curl 설치 (헬스체크용)
|
||||
RUN apk add --no-cache curl
|
||||
# curl 설치 (헬스체크용) + postgresql16-client (회사 DB 프로비저닝 pg_dump/psql 용).
|
||||
# ★ 서버 PG 16.13 과 버전 맞춰야 함 — alpine 기본 postgresql-client 는 18 이라 pg_dump 18 이
|
||||
# "SET transaction_timeout" (17+ 신규) 을 dump 에 포함 → 서버가 거부. 버전 고정 필수.
|
||||
RUN apk add --no-cache curl postgresql16-client
|
||||
|
||||
# Gradle Wrapper 복사 및 의존성 캐싱
|
||||
COPY gradlew ./
|
||||
|
||||
@@ -36,7 +36,7 @@ services:
|
||||
# JWT_SECRET 은 docker/dev/.env 에서 주입 (이 파일은 git 추적, .env 는 gitignored + syncthing 동기화)
|
||||
JWT_SECRET: ${JWT_SECRET:?JWT_SECRET 환경변수 필요. docker/dev/.env 파일 확인}
|
||||
JWT_EXPIRATION: ${JWT_EXPIRATION:-86400000}
|
||||
CORS_ALLOWED_ORIGINS: ${CORS_ALLOWED_ORIGINS:-http://localhost:3000,http://localhost:9772,http://100.126.230.80:9772}
|
||||
CORS_ALLOWED_ORIGINS: ${CORS_ALLOWED_ORIGINS:-http://localhost:3000,http://localhost:9772,http://100.126.230.80:9772,http://*.invyone.com:[*],https://*.invyone.com:[*],http://*.invyone.com,https://*.invyone.com}
|
||||
FILE_UPLOAD_DIR: ./uploads
|
||||
volumes:
|
||||
- ../../backend-spring:/app
|
||||
|
||||
Reference in New Issue
Block a user