-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yaml
40 lines (39 loc) · 1021 Bytes
/
docker-compose.yaml
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
version: "3.8"
services:
dedicated_server:
build:
context: .
dockerfile: docker/7_days_to_die-dedicated-server.Dockerfile
args:
USER_ID: 1000
GROUP_ID: 1000
restart: unless-stopped
user: "1000:1000"
environment:
- "GAME_VERSION=public"
- "PUBLIC_SERVER=2"
- "QUERY_PORT=26900"
- "SERVER_NAME=7 Days To Die Dedicated Server"
- "SERVER_DESC=Welcome to a 7 Days to Die Dedicated Server"
- "SERVER_PASSWORD="
- "SERVER_LOG_FILE="
- "MAX_PLAYERS=8"
ports:
- target: 26900
published: 26900
protocol: tcp
- target: 26900
published: 26900
protocol: udp
- target: 26901
published: 26901
protocol: udp
- target: 26902
published: 26902
protocol: udp
volumes:
- ./7DTDConfig:/home/steam/7DTDConfig
- ./7DTDSaves:/home/steam/.local/share/7DaysToDie/Saves
- ./7DTDServer:/home/steam/7DTDServer
cap_drop:
- ALL