From c8fce329d50afc604e61c17d89ec5a7f561f5137 Mon Sep 17 00:00:00 2001 From: hafometh88 Date: Fri, 24 Nov 2023 13:25:34 +0100 Subject: [PATCH 1/2] Added default settings for A2S --- Dockerfile | 4 ++-- docker_default.json | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4b3ee3f..ae2f2a9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -46,8 +46,8 @@ ENV SERVER_BIND_ADDRESS="0.0.0.0" ENV SERVER_BIND_PORT=2001 ENV SERVER_PUBLIC_ADDRESS="" ENV SERVER_PUBLIC_PORT=2001 -ENV SERVER_A2S_ADDRESS="" -ENV SERVER_A2S_PORT="" +ENV SERVER_A2S_ADDRESS="0.0.0.0" +ENV SERVER_A2S_PORT=17777 ENV GAME_NAME="Arma Reforger Docker Server" ENV GAME_PASSWORD="" diff --git a/docker_default.json b/docker_default.json index ba7c9bf..b696185 100644 --- a/docker_default.json +++ b/docker_default.json @@ -3,7 +3,10 @@ "bindPort": 2001, "publicAddress": "", "publicPort": 2001, - "a2s": null, + "a2s": { + "address": "", + "port": 17777 + }, "game": { "name": "Arma Reforger Docker Server", "password": "", From 6b55425411a526d40dd6698f0de3e89b1d93423a Mon Sep 17 00:00:00 2001 From: hafometh88 Date: Fri, 24 Nov 2023 13:27:11 +0100 Subject: [PATCH 2/2] Corrected the Docker CLI example --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index b41a2c6..c90eafe 100644 --- a/README.md +++ b/README.md @@ -13,8 +13,7 @@ An Arma Reforger dedicated server. Updates to the latest version every time it i -v path/to/configs:/reforger/Configs \ -v path/to/profiles:/home/profile \ -v path/to/workshop:/reforger/workshop \ - -e SERVER_REGION="EU" \ - -e SERVER_HOST_REGISTER_ADDRESS="public ip" \ + -e SERVER_PUBLIC_ADDRESS="public ip" \ -e GAME_NAME="My Docker Reforger Server" \ ghcr.io/acemod/arma-reforger:latest ```