Helpdesk dev, prod 배포환경 분리
All checks were successful
Main-Build / build-and-push (push) Successful in 1m17s
All checks were successful
Main-Build / build-and-push (push) Successful in 1m17s
This commit is contained in:
@@ -10,11 +10,15 @@ RUN apk add --no-cache curl && \
|
||||
# 2단계: Tomcat 이미지 (Java 8 기준)
|
||||
FROM tomcat:9.0-jdk8-temurin
|
||||
|
||||
# 빌드 시 주입할 OTEL 관련 인자
|
||||
ARG OTEL_ENV=prod
|
||||
ARG OTEL_SERVICE_NAME=sayit-helpdesk
|
||||
|
||||
ENV TZ=Asia/Seoul \
|
||||
OTEL_SERVICE_NAME=helpdesk_service \
|
||||
OTEL_SERVICE_NAME=${OTEL_SERVICE_NAME} \
|
||||
OTEL_EXPORTER_OTLP_ENDPOINT=http://192.168.100.203:4317 \
|
||||
OTEL_EXPORTER_OTLP_PROTOCOL=grpc \
|
||||
OTEL_RESOURCE_ATTRIBUTES="deployment.environment=prod" \
|
||||
OTEL_RESOURCE_ATTRIBUTES="deployment.environment=${OTEL_ENV}" \
|
||||
JAVA_TOOL_OPTIONS="\
|
||||
-Xms1g \
|
||||
-Xmx1g \
|
||||
|
||||
Reference in New Issue
Block a user