minecraft-pi-reborn/debian/client/native/usr/share/minecraft-pi/client/docker-compose.yml

19 lines
608 B
YAML
Raw Normal View History

2020-10-17 20:37:41 +00:00
version: '3'
2020-09-25 16:58:37 +00:00
services:
minecraft-pi:
2021-01-27 21:26:19 +00:00
image: 'thebrokenrail/minecraft-pi-reborn:client'
2020-09-27 04:20:24 +00:00
network_mode: 'host'
2021-01-31 02:32:20 +00:00
user: '${USER_UID}'
2020-09-25 16:58:37 +00:00
volumes:
2020-12-10 03:19:18 +00:00
- /usr/bin/qemu-arm-static:/usr/bin/qemu-arm-static
2020-09-25 16:58:37 +00:00
- '/tmp/.X11-unix:/tmp/.X11-unix'
2021-01-31 02:32:20 +00:00
- '${USER_HOME}/.minecraft-pi:/root/.minecraft'
2020-10-16 19:45:00 +00:00
devices:
- '/dev/dri:/dev/dri'
2020-09-25 16:58:37 +00:00
environment:
2021-01-31 02:32:20 +00:00
- 'HOME=/root'
2020-09-25 16:58:37 +00:00
- 'DISPLAY=unix${DISPLAY}'
2020-10-01 19:11:27 +00:00
- 'MCPI_FEATURES=${MCPI_FEATURES}'
- 'MCPI_USERNAME=${MCPI_USERNAME}'
2020-10-16 19:45:00 +00:00
- 'MCPI_MODE=native'