-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
35 lines (34 loc) · 1.8 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
version: '2.2'
services:
# This is the official BF2 1.5 dedicated server. It uses your private master server, and your private BF2Statistics 2.x.x ASP web server (i.e. stats server) by DNS spoofing
# For a full BF2Statistics 2.x.x stack example, see https://github.com/startersclan/bf2stats
bf2:
image: startersclan/docker-bf2:v1.5.3153.0-bf2stats-2.5.1
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
- ./config/bf2/python/bf2/BF2StatisticsConfig-custom.py:/server/bf2/python/bf2/BF2StatisticsConfig.py:ro # bf2stats python config
ports:
- 16567:16567/udp
- 29900:29900/udp
extra_hosts:
- battlefield2.available.gamespy.com:192.168.1.100 # Your master server IP
- battlefield2.master.gamespy.com:192.168.1.100 # Your master server IP
- battlefield2.ms14.gamespy.com:192.168.1.100 # Your master server IP
- master.gamespy.com:192.168.1.100 # Your master server IP
- motd.gamespy.com:192.168.1.100 # Your master server IP
- gpsp.gamespy.com:192.168.1.100 # Your master server IP
- gpcm.gamespy.com:192.168.1.100 # Your master server IP
- gamespy.com:192.168.1.100 # Your master server IP
- bf2web.gamespy.com:192.168.1.100 # Your ASP web server IP
- gamestats.gamespy.com:192.168.1.100 # Your ASP web server IP
- eapusher.dice.se:192.168.1.100 # Your ASP web server IP
networks:
- default
healthcheck:
test: /healthcheck localhost 29900
tty: true
stdin_open: true
networks:
default: