Skip to content

Commit

Permalink
Merge branch 'main' into pr-mods
Browse files Browse the repository at this point in the history
  • Loading branch information
jonpas committed Nov 1, 2023
2 parents 2a059d5 + 8762808 commit 0c26ead
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ RUN apt-get update \

ENV STEAM_USER=""
ENV STEAM_PASSWORD=""
ENV STEAM_APPID="1874900"
ENV STEAM_BRANCH="public"
ENV STEAM_BRANCH_PASSWORD=""

Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ By default the configs are generated from the ENV variables in the dockerfile. A

Alternatively, change the `ARMA_CONFIG` variable to a file present in the `Configs` volume. It will be used without modification.

### Experimental server

To use the experimental server instead of the regular set `STEAM_APPID` variable to `1890870`.

### Mods

Workshop mods can be defined in two ways. You can use both or either of those.
Expand Down
3 changes: 1 addition & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,5 @@ services:
- ./reforger/profile:/home/profile
- ./reforger/workshop:/reforger/workshop
environment:
- SERVER_REGION=EU # or other ISO 3166-1 alpha-2 code
- SERVER_HOST_REGISTER_ADDRESS=public-ip
- SERVER_PUBLIC_ADDRESS=public-ip
- GAME_NAME=My Docker Reforger Server
2 changes: 1 addition & 1 deletion launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def bool_str(text):
)
else:
steamcmd.extend(["+login", "anonymous"])
steamcmd.extend(["+app_update", "1874900"])
steamcmd.extend(["+app_update", os.environ["STEAM_APPID"]])
if env_defined("STEAM_BRANCH"):
steamcmd.extend(["-beta", os.environ["STEAM_BRANCH"]])
if env_defined("STEAM_BRANCH_PASSWORD"):
Expand Down

0 comments on commit 0c26ead

Please sign in to comment.