forked from r15ch13/arkcluster
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
101 lines (92 loc) · 2.52 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
version: "3.5"
services:
theisland:
image: fossum/ark-cluster:master
deploy:
restart_policy:
condition: on-failure
delay: 15s
max_attempts: 3
window: 600s
mode: replicated
replicas: 1
resources:
reservations:
memory: 8gb
update_config:
parallelism: 1
delay: 30s
order: stop-first
failure_action: rollback
environment:
SERVERMAP: "TheIsland"
SESSION_NAME: "ARK Cluster TheIsland"
CRON_AUTO_UPDATE: ${CRON_AUTO_UPDATE:-0 */3 * * *}
CRON_AUTO_BACKUP: ${CRON_AUTO_BACKUP:-0 */1 * * *}
UPDATEONSTART: ${UPDATEONSTART:-1}
BACKUPONSTART: ${BACKUPONSTART:-1}
BACKUPONSTOP: ${BACKUPONSTOP:-1}
WARNONSTOP: ${WARNONSTOP:-1}
USER_ID: ${USER_ID:-1000}
GROUP_ID: ${GROUP_ID:-1000}
TZ: ${TZ:-UTC}
MAX_BACKUP_SIZE: ${MAX_BACKUP_SIZE:-1}
MAX_PLAYERS: ${MAX_PLAYERS:-15}
RCON_ENABLE: ${RCON_ENABLE:-True}
RCON_PORT: ${RCON_PORT:-32332}
GAME_PORT: ${GAME_PORT:-7781}
QUERY_PORT: ${QUERY_PORT:-27017}
SERVER_PASSWORD: ${SERVER_PASSWORD}
ADMIN_PASSWORD: ${ADMIN_PASSWORD:-keepmesecret}
SPECTATOR_PASSWORD: ${SPECTATOR_PASSWORD:-keepmesecret}
MODS: ${MODS}
CLUSTER_ID: ${CLUSTER_ID}
KILL_PROCESS_TIMEOUT: ${KILL_PROCESS_TIMEOUT:-300}
KILL_ALL_PROCESSES_TIMEOUT: ${KILL_ALL_PROCESSES_TIMEOUT:-300}
volumes:
- island:/ark
- cluster:/cluster
ports:
- "32332:32332/tcp"
- "7781:7781/udp"
- "7782:7782/udp"
- "27017:27017/udp"
valguero:
image: fossum/ark-cluster:master
deploy:
restart_policy:
condition: on-failure
delay: 15s
max_attempts: 3
window: 600s
mode: replicated
replicas: 1
resources:
reservations:
memory: 8gb
update_config:
parallelism: 1
delay: 30s
order: stop-first
failure_action: rollback
environment:
SERVERMAP: "Valguero_P"
SESSION_NAME: "ARK Cluster"
RCON_PORT: ${RCON_PORT:-32331}
GAME_PORT: ${GAME_PORT:-7779}
QUERY_PORT: ${QUERY_PORT:-27016}
ADMIN_PASSWORD: ${ADMIN_PASSWORD:-keepmesecret}
SPECTATOR_PASSWORD: ${SPECTATOR_PASSWORD:-keepmesecret}
CLUSTER_ID: ${CLUSTER_ID}
volumes:
- valguero:/ark
- cluster:/cluster
ports:
- "32331:32331/tcp"
- "7779:7779/udp"
- "7780:7780/udp"
- "27016:27016/udp"
volumes:
island:
valguero:
cluster: