Repository navigation
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
173 lines (167 loc) · 5.67 KB
/
Copy pathdocker-compose.yml
File metadata and controls
173 lines (167 loc) · 5.67 KB
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
x-base: &base
env_file: .env
restart: unless-stopped
labels:
# Watchtower runs this hook before stopping the container. The script
# exits 0 only when the server is empty or the 30-minute grace fires,
# otherwise non-zero so watchtower skips this cycle. pre-update-timeout
# is in MINUTES and bounds a single hook invocation — the multi-cycle
# 30-min budget is enforced by the script itself via /tmp/wt-update-since.
com.centurylinklabs.watchtower.lifecycle.pre-update: /usr/local/bin/wait-for-empty.sh
com.centurylinklabs.watchtower.lifecycle.pre-update-timeout: "1"
ulimits:
nofile:
soft: 1048576
hard: 1048576
memlock: -1
nproc: 65535
rtprio: 99
cap_add:
- SYS_NICE
- IPC_LOCK
devices:
- /dev/ntsync:/dev/ntsync
sysctls:
net.ipv4.tcp_fastopen: "3"
tmpfs:
- /tmp:size=2g,mode=1777
- /run:size=256m,mode=1777
logging:
driver: json-file
options:
max-size: "50m"
max-file: "5"
oom_score_adj: -500
environment: &base-env
WINEESYNC: "0"
WINEFSYNC: "0"
PROTON_USE_NTSYNC: "1"
WINE_DISABLE_FAST_SYNC: "0"
WINEPREFIX: /home/steam/.wine
WINEARCH: win64
WINEDEBUG: "-all"
STAGING_WRITECOPY: "1"
STAGING_SHARED_MEMORY: "1"
DXVK_HUD: "0"
DXVK_LOG_LEVEL: "none"
DXVK_STATE_CACHE: "0"
PROTON_NO_ESYNC: "1"
PROTON_NO_FSYNC: "1"
PROTON_LOG: "0"
LANG: C.UTF-8
LC_ALL: C.UTF-8
services:
normal:
<<: *base
image: ghcr.io/deadlock-api/deadlock-server-plugins/normal:latest
ports:
- "27015:27015/udp"
- "27015:27015/tcp"
environment:
<<: *base-env
SERVER_PORT: 27015
DEADWORKS_ENV_PORT: 27015
DEADWORKS_ENV_HOSTNAME: 24/7 Deadlock | Vanilla
volumes:
- proton:/opt/proton
- gamefiles:/opt/gamefiles
- dotnet-cache:/opt/dotnet-cache
- gamedata-normal:/home/steam/server
- compatdata-normal:/home/steam/.steam/steam/steamapps/compatdata
- ./scripts/wait-for-empty.sh:/usr/local/bin/wait-for-empty.sh:ro
lock-timer:
<<: *base
image: ghcr.io/deadlock-api/deadlock-server-plugins/lock-timer:latest
ports:
- "27016:27016/udp"
- "27016:27016/tcp"
environment:
<<: *base-env
SERVER_PORT: 27016
DEADWORKS_ENV_PORT: 27016
DEADWORKS_ENV_HOSTNAME: 24/7 Lock Timer | Zone-Based Speedrun
volumes:
- proton:/opt/proton
- gamefiles:/opt/gamefiles
- dotnet-cache:/opt/dotnet-cache
- gamedata-lock-timer:/home/steam/server
- compatdata-lock-timer:/home/steam/.steam/steam/steamapps/compatdata
- ./scripts/wait-for-empty.sh:/usr/local/bin/wait-for-empty.sh:ro
deathmatch:
<<: *base
image: ghcr.io/deadlock-api/deadlock-server-plugins/deathmatch:latest
ports:
- "27017:27017/udp"
- "27017:27017/tcp"
environment:
<<: *base-env
SERVER_PORT: 27017
DEADWORKS_ENV_PORT: 27017
DEADWORKS_ENV_HOSTNAME: 24/7 TDM | Rank-Balanced | Max Abilities + Infinite Gold | 2s Respawn | Rotating Lanes
# PostHog capture (optional — DM stats are skipped if POSTHOG_KEY or
# STATS_SALT is unset). Values come from .env; see .env.example.
DEADWORKS_ENV_POSTHOG_HOST: ${DEADWORKS_ENV_POSTHOG_HOST:-https://us.i.posthog.com}
DEADWORKS_ENV_POSTHOG_KEY: ${DEADWORKS_ENV_POSTHOG_KEY:-}
DEADWORKS_ENV_STATS_SALT: ${DEADWORKS_ENV_STATS_SALT:-}
volumes:
- proton:/opt/proton
- gamefiles:/opt/gamefiles
- dotnet-cache:/opt/dotnet-cache
- gamedata-deathmatch:/home/steam/server
- compatdata-deathmatch:/home/steam/.steam/steam/steamapps/compatdata
- ./scripts/wait-for-empty.sh:/usr/local/bin/wait-for-empty.sh:ro
trooper-invasion:
<<: *base
image: ghcr.io/deadlock-api/deadlock-server-plugins/trooper-invasion:latest
ports:
- "27018:27018/udp"
- "27018:27018/tcp"
environment:
<<: *base-env
SERVER_PORT: 27018
DEADWORKS_ENV_PORT: 27018
DEADWORKS_ENV_HOSTNAME: 24/7 Trooper Invasion | Co-op PvE | Defend the Patron
# PostHog capture (optional — TI stats are skipped if POSTHOG_KEY or
# STATS_SALT is unset). Values come from .env; see .env.example.
DEADWORKS_ENV_POSTHOG_HOST: ${DEADWORKS_ENV_POSTHOG_HOST:-https://us.i.posthog.com}
DEADWORKS_ENV_POSTHOG_KEY: ${DEADWORKS_ENV_POSTHOG_KEY:-}
DEADWORKS_ENV_STATS_SALT: ${DEADWORKS_ENV_STATS_SALT:-}
volumes:
- proton:/opt/proton
- gamefiles:/opt/gamefiles
- dotnet-cache:/opt/dotnet-cache
- gamedata-trooper-invasion:/home/steam/server
- compatdata-trooper-invasion:/home/steam/.steam/steam/steamapps/compatdata
- ./scripts/wait-for-empty.sh:/usr/local/bin/wait-for-empty.sh:ro
capture-the-flag:
<<: *base
image: ghcr.io/deadlock-api/deadlock-server-plugins/capture-the-flag:latest
ports:
- "27019:27019/udp"
- "27019:27019/tcp"
environment:
<<: *base-env
SERVER_PORT: 27019
DEADWORKS_ENV_PORT: 27019
DEADWORKS_ENV_HOSTNAME: 24/7 Capture the Flag | One-Flag CTF | Melee the Urn + Escort to Enemy Base | Best of 5
volumes:
- proton:/opt/proton
- gamefiles:/opt/gamefiles
- dotnet-cache:/opt/dotnet-cache
- gamedata-capture-the-flag:/home/steam/server
- compatdata-capture-the-flag:/home/steam/.steam/steam/steamapps/compatdata
- ./scripts/wait-for-empty.sh:/usr/local/bin/wait-for-empty.sh:ro
volumes:
proton:
gamefiles:
gamedata-normal:
gamedata-lock-timer:
gamedata-deathmatch:
gamedata-trooper-invasion:
gamedata-capture-the-flag:
compatdata-normal:
compatdata-lock-timer:
compatdata-deathmatch:
compatdata-trooper-invasion:
compatdata-capture-the-flag:
dotnet-cache: