kf-server. Initial configuration added.

This commit is contained in:
Alexey Skobkin 2021-10-20 03:24:45 +03:00
parent 7b6b77913c
commit 1b50a7b8be
4 changed files with 29 additions and 0 deletions

5
kf2-server/.env.dist Normal file
View file

@ -0,0 +1,5 @@
# see https://hub.docker.com/r/jeeaaasustest/killingfloor2-srv/dockerfile
INSTALLDIR=/home/steam/232130/killingfloor2
LOG_MAX_SIZE=5m
LOG_MAX_FILE=5

1
kf2-server/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
config/*.ini

View file

View file

@ -0,0 +1,23 @@
version: '3.7'
services:
kf2-server:
image: jeeaaasustest/killingfloor2-srv
container_name: kf2-server
ports:
- "8080:8080/tcp"
- "7777:7777/udp"
- "20560:20560/udp"
- "27015:27015/udp"
volumes:
- "kf2-data:${INSTALLDIR}/KFGame/Config"
env_file: .env
#restart: unless-stopped
logging:
driver: "json-file"
options:
max-size: "${LOG_MAX_SIZE:-5m}"
max-file: "${LOG_MAX_FILE:-5}"
volumes:
kf2-data: