From 19b0d38848b813a475e21d48da2d55302cf65449 Mon Sep 17 00:00:00 2001 From: Sheikah45 Date: Thu, 4 Jul 2024 06:55:29 -0400 Subject: [PATCH] Set FAF domain during training run --- Dockerfile | 1 + src/main/resources/config/application.yml | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b5e42dc56..b284b0b2d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/src/main/resources/config/application.yml b/src/main/resources/config/application.yml index c2c40a4fd..6efa7b8ac 100644 --- a/src/main/resources/config/application.yml +++ b/src/main/resources/config/application.yml @@ -126,8 +126,6 @@ spring: jackson: serialization: WRITE_DATES_AS_TIMESTAMPS: false - profiles: - active: ${API_PROFILE} servlet: multipart: max-file-size: 350MB