cluster changes
All checks were successful
ci / build (push) Successful in 2m49s

This commit is contained in:
miwr 2025-04-16 10:20:46 +02:00
parent f517085741
commit e20c5589a6
3 changed files with 16 additions and 2 deletions

View file

@ -3,6 +3,10 @@ FROM maven:latest AS builder
WORKDIR /app
COPY pom.xml .
COPY src ./src
ARG LOCAL=false
RUN if [ "$LOCAL" = "true" ]; then \
cp src/main/resources/local.application.properties src/main/resources/application.properties; \
fi
RUN mvn clean package -DskipTests
# Stage 2: Create the final lightweight image

View file

@ -1,10 +1,10 @@
spring.application.name=silly-game
spring.mail.host=localhost
spring.mail.host=mailhog.mailhog.svc.cluster.local
spring.mail.port=1025
spring.mail.username=
spring.mail.password=
spring.mail.properties.mail.smtp.auth=false
spring.mail.properties.mail.smtp.starttls.enable=false
cors.allowed-origin=http://localhost:4200
cors.allowed-origin=http://silly-game-frontend-service.silly-game.svc.cluster.local

View file

@ -0,0 +1,10 @@
spring.application.name=silly-game
spring.mail.host=localhost
spring.mail.port=1025
spring.mail.username=
spring.mail.password=
spring.mail.properties.mail.smtp.auth=false
spring.mail.properties.mail.smtp.starttls.enable=false
cors.allowed-origin=http://localhost:4200