-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
22 lines (21 loc) · 950 Bytes
/
docker-compose.yml
File metadata and controls
22 lines (21 loc) · 950 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
version: '2.2'
services:
# This is the official BF2 1.5 dedicated server running on the official BF2Hub server binaries. It uses BF2Hub as the master server and the ASP web server (i.e. stats server) without needing DNS spoofing.
# Server will be unranked because it is not an official BF2Hub ranked server
bf2:
image: startersclan/docker-bf2:v1.5.3153.0-bf2hub
volumes:
- ./config/bf2/mods/bf2/ai/aidefault-custom.ai:/server/bf2/mods/bf2/ai/aidefault.ai:ro # Customize bots
- ./config/bf2/mods/bf2/settings/serversettings-custom.con:/server/bf2/mods/bf2/settings/serversettings.con:ro # Server config
- ./config/bf2/mods/bf2/settings/maplist-custom-coop.con:/server/bf2/mods/bf2/settings/maplist.con:ro # Maplist
ports:
- 16567:16567/udp
- 29900:29900/udp
networks:
- default
healthcheck:
test: /healthcheck localhost 29900
tty: true
stdin_open: true
networks:
default: