Browse Source

Merge pull request #264 from texhno/main

Small fixes for `docker-compose up` command's error and warning
Nathan.fooo 2 năm trước cách đây
mục cha
commit
dfb6ff7d04
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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
     stdin_open: true
     # tty: true
+    devices:
+      - "/dev/dri:/dev/dri" # fixes MESA-LOADER error
     environment:
       - DISPLAY=${DISPLAY}
+      - NO_AT_BRIDGE=1 # fixes dbind-WARNING
     volumes:
       - $HOME/.Xauthority:/root/.Xauthority:rw
       - /tmp/.X11-unix:/tmp/.X11-unix