-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdocker-compose.yml
65 lines (62 loc) · 1.62 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
services:
rabbitmq:
image: rabbitmq:3-management
container_name: rabbitmq
restart: unless-stopped
ports:
- "127.0.0.1:5672:5672"
- "127.0.0.1:15672:15672"
healthcheck:
test: rabbitmq-diagnostics -q ping
interval: 10s
timeout: 5s
retries: 3
BeatTogether.MasterServer:
container_name: btmaster
depends_on:
rabbitmq:
condition: service_healthy
image: ghcr.io/beattogether/beat-together-master-server:master
network_mode: host
restart: unless-stopped
logging:
driver: json-file
options:
max-size: 4m
volumes:
- ./master.json:/app/appsettings.Production.json
- ./logs:/app/logs
BeatTogether.DedicatedServer:
container_name: btdedicated
depends_on:
rabbitmq:
condition: service_healthy
BeatTogether.MasterServer:
condition: service_started
image: ghcr.io/beattogether/beat-together-dedicated-server:master
network_mode: host
restart: unless-stopped
logging:
driver: json-file
options:
max-size: 4m
volumes:
- ./dedicated.json:/app/appsettings.Production.json
- ./logs:/app/logs
BeatTogether.Status.Api:
container_name: btapi
depends_on:
rabbitmq:
condition: service_healthy
BeatTogether.MasterServer:
condition: service_started
image: ghcr.io/beattogether/beat-together-status-api:master
network_mode: host
restart: unless-stopped
logging:
driver: json-file
options:
max-size: 4m
volumes:
- ./api.json:/app/appsettings.Production.json
- ./logs:/app/logs