-
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
24 lines (24 loc) · 697 Bytes
/
docker-compose.yml
File metadata and controls
24 lines (24 loc) · 697 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
version: "3.7"
services:
cod4:
image: qmcgaw/cod4
container_name: cod4
volumes:
- ./main:/home/user/cod4/main
- ./zone:/home/user/cod4/zone
- ./mods:/home/user/cod4/mods
- ./usermaps:/home/user/cod4/usermaps:ro
- ./logs:/home/user/.callofduty4
network_mode: bridge
environment:
- HTTP_SERVER=on
- ROOT_URL=/
ports:
# COD4x server
- 28960:28960/udp
# Master list
- 28960:28960/tcp
# Serving mods and usermaps over http
- 8000:8000/tcp
command: +set dedicated 2+set sv_cheats 1+set sv_maxclients 64+set ui_maxclients 64+exec server.cfg+map_rotate
restart: always