-
Notifications
You must be signed in to change notification settings - Fork 25
/
docker-compose.yml
48 lines (48 loc) · 1.36 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
services:
gameserver:
image: refresh:latest
container_name: refresh-gameserver
build: .
restart: unless-stopped
ports:
- "10061:10061"
environment:
BUNKUM_DATA_FOLDER: /refresh/data
healthcheck:
# Fails if the /_health endpoint contains 'Unhealthy'
test: ["CMD", "bash", "-c", "export UNHEALTHY=$(curl http://localhost:10061/_health --silent | grep -i Unhealthy); if [ '$UNHEALTHY' != '' ]; then exit 1; else exit 0; fi"]
timeout: 3s
interval: 5s
retries: 5
volumes:
- "./data/gameserver:/refresh/data:z"
httpsproxy:
image: refresh-httpsproxy:latest
container_name: refresh-httpsproxy
build:
context: .
dockerfile: HttpsProxy.Dockerfile
restart: unless-stopped
ports:
- "10060:10060"
- "10061:10061"
environment:
BUNKUM_DATA_FOLDER: /refresh/data
volumes:
- "./data/httpsproxy:/refresh/data:z"
profiles: ["optional-services"]
presenceserver:
image: refresh-presenceserver:latest
container_name: refresh-presenceserver
build:
context: .
dockerfile: PresenceServer.Dockerfile
restart: unless-stopped
ports:
- "10072:10072"
- "10061:10061"
environment:
BUNKUM_DATA_FOLDER: /refresh/data
volumes:
- "./data/presenceserver:/refresh/data:z"
profiles: ["optional-services"]