-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathdocker-compose.yml
67 lines (63 loc) · 1.98 KB
/
docker-compose.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
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
version: '3.7'
services:
mvdsv:
image: niclaslindstedt/nquakesv
restart: always
environment:
- HOSTNAME=${KTX_HOSTNAME}
- SERVER_IP=${KTX_SERVER_IP} # this is your server's external ip, leave it empty to look up your external ip
- PORT=${KTX_SERVER_PORT} # this is the external port number for this server
- RCON_PASSWORD=${KTX_RCON_PASSWORD}
- QTV_PASSWORD=${KTX_QTV_PASSWORD}
- SERVER_ADMIN=${KTX_SERVER_ADMIN}
- REPORT_URL=${QTV_REPORT_URL}
- REPORT_KEY=${QTV_REPORT_KEY}
- SERVER_MEMORY_KBYTES=${MVDSV_SERVER_MEMORY_BYTES} # memory allocation for server process
ports:
- '${KTX_SERVER_PORT}:${KTX_SERVER_PORT}/udp'
volumes:
- "/etc/timezone:/etc/timezone:ro" # This will make sure logs inside the container are in the timezone of the server
- "/etc/localtime:/etc/localtime:ro" # This will make sure logs inside the container are in the timezone of the server
- logs:/nquake/logs
- media:/nquake/media
- demos:/nquake/ktx/demos
restart: always
healthcheck:
test: ["CMD", "/healthcheck.sh"]
interval: 1m
timeout: 10s
retries: 3
start_period: 20s
qtv:
image: niclaslindstedt/qtv
restart: always
tty: true
environment:
- HOSTNAME=${QTV_HOSTNAME}
- SERVER_IP=${QTV_SERVER_IP} # this is your server's external ip, leave it empty to look up your external ip
- QTV_PASSWORD=${QTV_PASSWORD}
- ADMIN_PASSWORD=${QTV_ADMIN_PASSWORD}
- TARGET_SERVERS=mvdsv:${KTX_SERVER_PORT}
ports:
- '${QTV_SERVER_PORT}:28000'
volumes:
- demos:/qtv/demos
- media:/qtv/id1
healthcheck:
test: ["CMD", "/healthcheck.sh"]
interval: 1m
timeout: 10s
retries: 3
start_period: 20s
qwfwd:
image: niclaslindstedt/qwfwd
restart: always
tty: true
environment:
- HOSTNAME=${QWFWD_HOSTNAME}
ports:
- '${QWFWD_SERVER_PORT}:30000/udp'
volumes:
logs:
demos:
media: