Code Monkey home page Code Monkey logo

docker-reforger's Introduction

Arma Reforger Dedicated Server

An Arma Reforger dedicated server. Updates to the latest version every time it is restarted.

Usage

Docker CLI

    docker create \
        --name=reforger-server \
        -p 2001:2001/udp \
        -v path/to/configs:/reforger/Configs \
        -v path/to/profiles:/home/profile \
        -v path/to/workshop:/reforger/workshop \
        -e SERVER_PUBLIC_ADDRESS="public ip" \
        -e GAME_NAME="My Docker Reforger Server" \
        ghcr.io/acemod/arma-reforger:latest

If an admin password is not provided, one will be generated and printed to the console.

Docker-compose

Simply check-out / copy the provided docker-compose.yml and adjust to your personal needs.

Parameters

Check the Dockerfile, more docs will come later.

Configs

By default the configs are generated from the ENV variables in the dockerfile. After the first run the file can be expanded with additional options manually, but the fields will always be overwritten by the ENV variables.

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.

GAME_MODS_IDS_LIST

A comma separated list of IDs, with an optional version.

-e GAME_MODS_IDS_LIST="5965770215E93269=1.0.6,5965550F24A0C152"

GAME_MODS_JSON_FILE_PATH

Path to a JSON file that contains array of mod objects.

-v ${PWD}/mods_file.json:/mods_file.json
-e GAME_MODS_JSON_FILE_PATH="/mods_file.json" 
[
  {
    "modId": "597706449575D90B",
    "version": "1.1.1"
  }
]

RCON

RCON can be activated by defining the RCON_PASSWORD variable.

-e RCON_PASSWORD="ExamplePassword123"

The password:

  • is required for RCON to start
  • does not support spaces
  • must be at least 3 characters long

Use -e RCON_PERMISSION="" to change permission for all RCON clients.

docker-reforger's People

Contributors

brettmayson avatar sdsznsk avatar jonpas avatar dahlgren avatar hafometh88 avatar bashbers avatar sergejkembel avatar thojkooi avatar

Forkers

stevenjnpearce

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.