Dockerised Killing Floor 2 server.
Go to file
Jack Hadrill 049c5df9e3
continuous-integration/drone/push Build is passing Details
Install, patch config files, and run.
2022-07-31 19:10:28 +01:00
.drone.yml Add '.drone.yml' 2022-07-28 00:31:22 +00:00
.gitignore Initial commit 2022-07-28 00:30:18 +00:00
Dockerfile Install, patch config files, and run. 2022-07-31 19:10:28 +01:00
LICENSE Initial commit 2022-07-28 00:30:18 +00:00
README.md Install, patch config files, and run. 2022-07-31 19:10:28 +01:00
start.sh Install, patch config files, and run. 2022-07-31 19:10:28 +01:00

README.md

Killing Floor 2 - Docker

Dockerised Killing Floor 2 server.

Run with the following environment variables:

SERVER_NAME       (default: KillingFloor2)
MOTD              (default: KillingFloor)
WEBSITE_LINK      (default: none)
PASSWORD          (default: none)
ADMIN_PASSWORD    (default: VerySecurePassword)
WEB_PASSWORD      (default: none)
MAX_PLAYERS       (default: 12)
GAME_DIFFICULTY   (default: 1)

Example docker-compose.yml file:

version: '3'
services:
  killingfloor2:
    image: docker.nexus.jacknet.io/jackhadrill/games/killingfloor2:latest
    ports:
      - '7777:7777/udp'
      - '27015:27015/tcp'
      - '8080:8080/tcp'
    environment:
      SERVER_NAME: 'JackNet'
      MOTD: 'Welcome to the JackNet KF2 server.'
      WEBSITE_LINK: 'https://jacknet.io/'
      PASSWORD: password123
      ADMIN_PASSWORD: password123

Mount /game if you want to persist the server files. Else, it will download on each launch.