mirror of
https://github.com/grey-cat-1908/portable-mc-server.git
synced 2024-11-11 18:57:27 +03:00
42 lines
No EOL
892 B
YAML
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: |