portable-mc-server/docker-compose.yml

42 lines
892 B
YAML
Raw Normal View History

2024-02-01 11:38:30 +03:00
version: '2.1'
2024-01-30 20:39:50 +03:00
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"
2024-01-31 13:28:24 +03:00
- "25575:25575/tcp"
2024-02-01 10:59:03 +03:00
- "19132:19132/tcp"
- "19132:19132/udp"
2024-01-30 20:39:50 +03:00
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"
2024-02-01 11:38:30 +03:00
wifi-connect:
build: ./wifi-connect
restart: always
network_mode: host
privileged: true
labels:
io.balena.features.dbus: "1"
io.balena.features.firmware: "1"
2024-01-30 20:39:50 +03:00
volumes:
mcfiles:
localcache: