minecraft-pi-docker/debian/usr/share/minecraft-pi/docker-compose.yml

14 lines
430 B
YAML
Raw Normal View History

2020-09-25 16:58:37 +00:00
version: '3.7'
services:
minecraft-pi:
image: thebrokenrail/minecraft-pi
2020-09-27 04:20:24 +00:00
network_mode: 'host'
2020-09-25 16:58:37 +00:00
volumes:
- '/tmp/.X11-unix:/tmp/.X11-unix'
- '/tmp/.virgl_test:/tmp/.virgl_test'
- '~/.minecraft-pi:/root/.minecraft'
environment:
- 'DISPLAY=unix${DISPLAY}'
2020-10-01 19:11:27 +00:00
- 'MCPI_FEATURES=${MCPI_FEATURES}'
- 'MCPI_USERNAME=${MCPI_USERNAME}'