-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
34 lines (33 loc) · 1.67 KB
/
docker-compose.yml
File metadata and controls
34 lines (33 loc) · 1.67 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
version: '2.2'
services:
# This is the official BF2 1.5 dedicated server. It uses BF2Hub as the master server and the ASP web server (i.e. stats server) by DNS spoofing.
# Server will be unranked because it is not an official BF2Hub ranked server
bf2:
image: startersclan/docker-bf2:v1.5.3153.0
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
extra_hosts:
- battlefield2.available.gamespy.com:92.51.181.102 # bf2hub.com master server IP
- battlefield2.master.gamespy.com:92.51.181.102 # bf2hub.com master server IP
- battlefield2.ms14.gamespy.com:92.51.181.102 # bf2hub.com master server IP
- master.gamespy.com:92.51.181.102 # bf2hub.com master server IP
- motd.gamespy.com:92.51.181.102 # bf2hub.com master server IP
- gpsp.gamespy.com:92.51.181.102 # bf2hub.com master server IP
- gpcm.gamespy.com:92.51.181.102 # bf2hub.com master server IP
- gamespy.com:92.51.181.102 # bf2hub.com master server IP
- bf2web.gamespy.com:92.51.180.45 # bf2hub.com ASP web server IP
- gamestats.gamespy.com:92.51.180.45 # bf2hub.com ASP web server IP
- eapusher.dice.se:92.51.180.45 # bf2hub.com ASP web server IP
healthcheck:
test: /healthcheck localhost 29900
tty: true
stdin_open: true
networks:
default: