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}'
|
2020-10-02 22:43:43 +00:00
|
|
|
- 'MCPI_USERNAME=${MCPI_USERNAME}'
|