Browse Source

Merge pull request #264 from texhno/main

Small fixes for `docker-compose up` command's error and warning
Nathan.fooo 2 years ago
parent
commit
dfb6ff7d04
1 changed files with 3 additions and 0 deletions
  1. 3 0
      frontend/scripts/docker-buildfiles/docker-compose.yml

+ 3 - 0
frontend/scripts/docker-buildfiles/docker-compose.yml

@@ -6,8 +6,11 @@ services:
     image: appflowy/appflowy:latest
     image: appflowy/appflowy:latest
     stdin_open: true
     stdin_open: true
     # tty: true
     # tty: true
+    devices:
+      - "/dev/dri:/dev/dri" # fixes MESA-LOADER error
     environment:
     environment:
       - DISPLAY=${DISPLAY}
       - DISPLAY=${DISPLAY}
+      - NO_AT_BRIDGE=1 # fixes dbind-WARNING
     volumes:
     volumes:
       - $HOME/.Xauthority:/root/.Xauthority:rw
       - $HOME/.Xauthority:/root/.Xauthority:rw
       - /tmp/.X11-unix:/tmp/.X11-unix
       - /tmp/.X11-unix:/tmp/.X11-unix