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'
|
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'
|
|
|
|
- '/tmp/.virgl_test:/tmp/.virgl_test'
|
2021-02-10 20:47:38 +00:00
|
|
|
- '${USER_HOME}/.minecraft-pi:/home/.minecraft-pi'
|
2020-09-25 16:58:37 +00:00
|
|
|
environment:
|
|
|
|
- 'DISPLAY=unix${DISPLAY}'
|
2020-10-01 19:11:27 +00:00
|
|
|
- 'MCPI_FEATURES=${MCPI_FEATURES}'
|
2021-02-02 00:35:30 +00:00
|
|
|
- 'MCPI_RENDER_DISTANCE=${MCPI_RENDER_DISTANCE}'
|
2020-10-02 22:43:43 +00:00
|
|
|
- 'MCPI_USERNAME=${MCPI_USERNAME}'
|
2020-10-16 19:45:00 +00:00
|
|
|
- 'MCPI_MODE=virgl'
|
2021-02-09 03:52:39 +00:00
|
|
|
- 'USER_UID=${USER_UID}'
|
|
|
|
- 'USER_GID=${USER_GID}'
|
|
|
|
- 'USER_OTHER_GIDS=${USER_OTHER_GIDS}'
|