forked from AlexProgrammerDE/balena-minecraft-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
50 lines (50 loc) · 1.06 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
version: '2'
services:
mc-server:
network_mode: host
restart: always
build: ./mc-server
privileged: true
labels:
io.balena.features.dbus: 1
io.balena.features.supervisor-api: 1
volumes:
- serverfiles:/usr/src/serverfiles
- servercache:/servercache
ports:
- "25565:25565/udp"
- "25565:25565/tcp"
- "25575:25575/udp"
- "25575:25575/tcp"
scp-server:
network_mode: host
restart: always
build: ./scp-server
privileged: false
labels:
io.balena.features.dbus: 1
volumes:
- serverfiles:/serverfiles
- servercache:/servercache
ports:
- "22:22/udp"
- "22:22/tcp"
wifi-connect:
build: ./wifi-connect
restart: always
network_mode: host
privileged: true
labels:
io.balena.features.dbus: '1'
io.balena.features.firmware: '1'
balena-rcon:
network_mode: host
restart: always
build: ./balena-rcon
privileged: true
ports:
- "25575:25575/udp"
- "25575:25575/tcp"
volumes:
serverfiles:
servercache: