瀏覽代碼

Merge pull request #264 from texhno/main

Small fixes for `docker-compose up` command's error and warning
Nathan.fooo 2 年之前
父節點
當前提交
dfb6ff7d04
共有 1 個文件被更改,包括 3 次插入0 次删除
  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