-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
51 lines (50 loc) · 1.19 KB
/
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
41
42
43
44
45
46
47
48
49
50
51
services:
chown:
image: busybox
platform: linux/amd64
user: root
volumes:
- valheim:/home/steam/valheim
- config:/home/steam/.config/unity3d/IronGate/Valheim
command:
- /bin/sh
- -c
- |
chown -R 1001:1001 /home/steam/.config/unity3d/IronGate/Valheim
chown -R 1001:1001 /home/steam/valheim
installupdate:
depends_on:
chown:
condition: service_completed_successfully
image: steamcmd
build:
context: .
dockerfile: steamcmd.Dockerfile
platform: linux/amd64
user: '1001'
volumes:
- valheim:/home/steam/valheim
- config:/home/steam/.config/unity3d/IronGate/Valheim
environment:
PUBLIC_TEST: false
valheim:
depends_on:
installupdate:
condition: service_completed_successfully
image: valheim
build:
context: .
dockerfile: valheim.Dockerfile
platform: linux/amd64
user: '1001'
volumes:
- valheim:/home/steam/valheim
- config:/home/steam/.config/unity3d/IronGate/Valheim
network_mode: host
environment:
SERVER_NAME: my_server
SERVER_PASS: secret
WORLD_NAME: Dedicated
volumes:
config:
valheim: