kf-server. Initial configuration added.
This commit is contained in:
parent
7b6b77913c
commit
1b50a7b8be
5
kf2-server/.env.dist
Normal file
5
kf2-server/.env.dist
Normal 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
1
kf2-server/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
config/*.ini
|
0
kf2-server/config/.gitkeep
Normal file
0
kf2-server/config/.gitkeep
Normal file
23
kf2-server/docker-compose.yml
Normal file
23
kf2-server/docker-compose.yml
Normal 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:
|
Loading…
Reference in a new issue