fix: also mount other required volumes in docker-compose

This commit is contained in:
Pablo Castellano 2022-02-17 21:42:20 +01:00
parent bde597a10b
commit 7820c8e70d

View File

@ -3,10 +3,13 @@ version: "3"
services:
app:
build: .
stdin_open: true
stdin_open: true
# tty: true
environment:
- DISPLAY=${DISPLAY}
volumes:
- $HOME/.Xauthority:/root/.Xauthority:rw
network_mode: host
- /tmp/.X11-unix:/tmp/.X11-unix
- /dev/dri:/dev/dri
- /var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket
network_mode: host