portable-mc-server/docker-compose.yml
grey-cat-1908 46615d9340 baza
2024-02-01 11:38:30 +03:00

42 lines
No EOL
892 B
YAML

version: '2.1'
services:
minecraft:
network_mode: host
restart: always
build: ./minecraft
privileged: true
labels:
io.balena.features.dbus: 1
io.balena.features.supervisor-api: 1
volumes:
- mcfiles:/usr/src/mcfiles
- localcache:/localcache
ports:
- "25565:25565/tcp"
- "25575:25575/tcp"
- "19132:19132/tcp"
- "19132:19132/udp"
ssh:
network_mode: host
restart: always
build: ./ssh
privileged: false
labels:
io.balena.features.dbus: 1
volumes:
- mcfiles:/usr/src/mcfiles
- localcache:/localcache
ports:
- "22:22/tcp"
- "22:22/udp"
wifi-connect:
build: ./wifi-connect
restart: always
network_mode: host
privileged: true
labels:
io.balena.features.dbus: "1"
io.balena.features.firmware: "1"
volumes:
mcfiles:
localcache: