-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathdocker-compose.yml
50 lines (46 loc) · 1.1 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
version: '3'
services:
mongo:
image: mongo:4.0
ports:
- '27017:27017'
volumes:
- mongodb:/data/db
redis:
image: redis:7-alpine
command: redis-server --save 60 1 --loglevel warning
ports:
- '6379:6379'
volumes:
- redis:/data
gameserver:
image: ghcr.io/tf2pickup-org/tf2-gameserver:latest
environment:
- 'SERVER_HOSTNAME=test game server 1'
- 'PORT=27015'
- 'CLIENT_PORT=27016'
- 'STEAM_PORT=27017'
- 'STV_PORT=27020'
- 'RCON_PASSWORD=123456'
- 'TF2PICKUPORG_API_ADDRESS=127.0.0.1:3000'
- 'TF2PICKUPORG_SECRET=xxxxxx'
network_mode: host
stdin_open: true
tty: true
gameserver2:
image: ghcr.io/tf2pickup-org/tf2-gameserver:latest
environment:
- 'SERVER_HOSTNAME=test game server 2'
- 'PORT=27025'
- 'CLIENT_PORT=27026'
- 'STEAM_PORT=27027'
- 'STV_PORT=27030'
- 'RCON_PASSWORD=123456'
- 'TF2PICKUPORG_API_ADDRESS=127.0.0.1:3000'
- 'TF2PICKUPORG_SECRET=xxxxxx'
network_mode: host
stdin_open: true
tty: true
volumes:
mongodb:
redis: