Pārlūkot izejas kodu

fix: also mount other required volumes in docker-compose

Pablo Castellano 3 gadi atpakaļ
vecāks
revīzija
7820c8e70d

+ 5 - 2
frontend/scripts/docker-buildfiles/docker-compose.yml

@@ -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