Browse Source

fix: also mount other required volumes in docker-compose

Pablo Castellano 3 years ago
parent
commit
7820c8e70d
1 changed files with 5 additions and 2 deletions
  1. 5 2
      frontend/scripts/docker-buildfiles/docker-compose.yml

+ 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