/reforger-server

Simple docker image for an Arma Reforger dedicated server

Primary LanguageDockerfileGNU General Public License v3.0GPL-3.0

reforger-server

Docker Pulls Issues License

Simple docker image for an Arma Reforger dedicated server.

Usage

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 be 0 for using the main Reforger application or 1 for using the experimental one (default: 0).

Docker Hub Repository

https://hub.docker.com/r/kexanone/reforger-server