-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathdocker-compose.yaml
46 lines (41 loc) · 1.1 KB
/
docker-compose.yaml
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
version: "3"
services:
master-server:
image: ghcr.io/jkuettner/bfbc2-master-server
#build: ./master-server
restart: always
network_mode: "host"
tty: true # for real-time output
volumes:
- "./database:/home/bfbc2/database"
# - "./custom-config.ini:/home/bfbc2/config.ini"
rush-server:
image: ghcr.io/jkuettner/bfbc2-server
#build: ./game-server
restart: always
network_mode: "host"
depends_on:
- master-server
environment:
MASTER_SERVER: "127.0.0.1"
SERVER_TYPE: "rush"
SERVER_NAME: "Rush LAN-Server"
SERVER_PORT: 19567
SERVER_ADMIN_PORT: 48888
SERVER_ADMIN_PASSWORD: "langaming"
SERVER_MAX_PLAYERS: 32
sqdm-server:
image: ghcr.io/jkuettner/bfbc2-server
#build: ./game-server
restart: always
network_mode: "host"
depends_on:
- master-server
environment:
MASTER_SERVER: "127.0.0.1"
SERVER_TYPE: "sqdm"
SERVER_NAME: "SQDM LAN-Server"
SERVER_PORT: 19568
SERVER_ADMIN_PORT: 48889
SERVER_ADMIN_PASSWORD: "langaming"
SERVER_MAX_PLAYERS: 16