Simple docker image for an Arma Reforger dedicated server.
CONTAINER_NAME="MyServer"
CONFIG_PATH="<path to JSON config file>"
PROFILE_PATH="<path to profile directory>"
docker create \
--name "${CONTAINER_NAME}" \
--network host \
--restart always \
-v $(dirname "${CONFIG_PATH}"):/reforger/configs \
-v ${PROFILE_PATH}:/reforger/profile \
-e EXPERIMENTAL=0 \
kexanone/reforger-server \
-config /reforger/configs/$(basename "${CONFIG_PATH}") \
-profile /reforger/profile \
-maxFPS 60
Comments:
- Check out the BiKi for details on server hosting.
- All parameters are directly passed to
ArmaReforgerServer
. An overview of available parameters can be found on the BiKi. PROFILE_PATH
is the folder in which server log and save files will be stored.EXPERIMENTAL
is an enviroment variable that can either be0
for using the main Reforger application or1
for using the experimental one (default:0
).