-
Notifications
You must be signed in to change notification settings - Fork 25
/
docker-compose-public.yml
36 lines (35 loc) · 1.19 KB
/
docker-compose-public.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
version: '2'
services:
kf2:
container_name: kf2
image: dwurf/docker-kf2:latest
# Uncomment this to skip auto-update
#command: update validate
#command: update -beta preview validate
restart: always
ports:
- 0.0.0.0:20560:20560/udp
- 0.0.0.0:27015:27015/udp
- 0.0.0.0:7777:7777/udp
- 0.0.0.0:8080:8080
environment:
- KF_BANNER_LINK="http:\/\/art.tripwirecdn.com\/TestItemIcons\/MOTDServer.png"
- KF_DIFFICULTY=1
- KF_GAME_LENGTH=1
- KF_MAP=KF-BioticsLab
- KF_MOTD="Welcome to our server!"
- KF_PORT=7777
- KF_QUERY_PORT=27015
- KF_SERVER_NAME="My Public Server"
- KF_WEBADMIN_PORT=8080
- KF_WEBSITE_LINK="https:\/\/killingfloor2.com\/"
volumes:
- ./kf2server/:/home/steam/kf2server
- ./kf2_steamdir/:/home/steam/steam
- ./game.yml:/home/steam/game.yml:ro
logging:
# limit logs retained on host to 25MB
driver: "json-file"
options:
max-size: "500k"
max-file: "50"