Skip to content

Commit

Permalink
Set FAF domain during training run
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheikah45 committed Jul 4, 2024
1 parent b7507e0 commit 19b0d38
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ ARG JAR_FILE=build/libs/faf-java-api-*.jar
COPY ${JAR_FILE} application.jar
COPY test-pki-private.key pki/secret.key
COPY test-pki-public.key pki/public.key
ENV FAF_DOMAIN=faforever.com
RUN java -Djarmode=tools -jar application.jar extract
RUN java -Dspring.context.exit=onRefresh -XX:ArchiveClassesAtExit=application.jsa -jar application/application.jar

Expand Down
2 changes: 0 additions & 2 deletions src/main/resources/config/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,6 @@ spring:
jackson:
serialization:
WRITE_DATES_AS_TIMESTAMPS: false
profiles:
active: ${API_PROFILE}
servlet:
multipart:
max-file-size: 350MB
Expand Down

0 comments on commit 19b0d38

Please sign in to comment.