forked from FemboyKZ/cs2docker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose-example.yml
More file actions
72 lines (71 loc) · 2.2 KB
/
docker-compose-example.yml
File metadata and controls
72 lines (71 loc) · 2.2 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
x-default-env: &default-env
WS_APIKEY: # https://steamcommunity.com/dev/apikey
FASTDL_URL: https://fastdl.somedomain.com/ # fastdl base url
STEAMGROUP: 0
CONTACT: admin@somedomain.com
services:
csgowatchdog:
image: csgowatchdog
container_name: csgowatchdog
restart: unless-stopped
user: 1000:1000
tty: true
stdin_open: true
volumes:
- ./watchdog:/watchdog
logging:
driver: json-file
options:
max-file: 5
max-size: 10m
network_mode: bridge
csgo-server-1:
image: csgoserver
container_name: csgo-server-1
restart: unless-stopped
user: 1000:1000
tty: true
stdin_open: true
logging:
driver: json-file
options:
max-file: 5
max-size: 10m
network_mode: host
environment:
<<: *default-env
ID: 1 # unique ID for this server, used for mount folders
HOSTNAME: Kreedz | EU | Public | 128t VNL Global
GSLT: "" # https://steamcommunity.com/dev/managegameservers
GSLT_NEW: "" # gslt for new app ID (4465480)
IP: 0.0.0.0
IP_DOMAIN: somedomain.com
PORT: 27015
RCON_PASSWORD: changeme
PASSWORD: ""
TICKRATE: 128
EXTRA_LAUNCH_OPTS: "" # extra launch options
MAP: de_nuke
REGION: EU # server region code (EU, NA)
TAGS: eu,public,csgo # comma separated list of tags
# Database settings
DB_PORT: 3306
DB_HOST: localhost
DB_DRIVER: sqlite
DB_USER: root
DB_PASS: ""
DB_TICKRATE_NAME: sourcemod_128 # tickrate specific db name, e.g for gokz
DB_SHARED_NAME: sourcemod # shared/global db name, e.g for clientprefs
SBPP_SERVERID: -1 # sourcebans++ server ID, -1 to disable
WHITELIST: false # enable whitelist-only mode (true/false)
AC: true # enable CowAC & AntiDLL (true/false)
ABH: false # enable ABH (true/false)
MODE: "" # server mode (server specific configs)
KZ_APIKEY: "" # kz apikey
KZ_MAPTIERS: false # enable maptiers integration (true/false)
NEW_APPID: false # whether to run server with new app ID (4465480) (true/false)
volumes:
- ./watchdog:/watchdog
- ./layers:/layers:ro
- ./mounts:/mounts
- ./user:/user:ro