도커파일에 환경변수 설정(임시)
This commit is contained in:
parent
f340b1ac05
commit
70e97aa4a2
19
Dockerfile
19
Dockerfile
|
|
@ -93,6 +93,25 @@ RUN echo '#!/bin/sh' > /app/start.sh && \
|
||||||
chmod +x /app/start.sh && \
|
chmod +x /app/start.sh && \
|
||||||
chown nodejs:nodejs /app/start.sh
|
chown nodejs:nodejs /app/start.sh
|
||||||
|
|
||||||
|
# ============================================================
|
||||||
|
# 환경변수 설정 (임시 조치)
|
||||||
|
# helm-charts의 values_logistream.yaml 관리자가 설정 완료 시 삭제 예정
|
||||||
|
# ============================================================
|
||||||
|
ENV NODE_ENV=production \
|
||||||
|
LOG_LEVEL=info \
|
||||||
|
PORT=8080 \
|
||||||
|
HOST=0.0.0.0 \
|
||||||
|
DATABASE_URL="postgresql://postgres:ph0909!!@39.117.244.52:11132/plm" \
|
||||||
|
JWT_SECRET="ilshin-plm-super-secret-jwt-key-2024" \
|
||||||
|
ENCRYPTION_KEY="ilshin-plm-mail-encryption-key-32characters-2024-secure" \
|
||||||
|
JWT_EXPIRES_IN="24h" \
|
||||||
|
CORS_CREDENTIALS="true" \
|
||||||
|
CORS_ORIGIN="https://logistream.kpslp.kr" \
|
||||||
|
KMA_API_KEY="ogdXr2e9T4iHV69nvV-IwA" \
|
||||||
|
ITS_API_KEY="d6b9befec3114d648284674b8fddcc32" \
|
||||||
|
NEXT_TELEMETRY_DISABLED="1" \
|
||||||
|
NEXT_PUBLIC_API_URL="https://logistream.kpslp.kr/api"
|
||||||
|
|
||||||
# 비특권 사용자로 전환
|
# 비특권 사용자로 전환
|
||||||
USER nodejs
|
USER nodejs
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue