chore: resolve docker-compose.yml conflicts

This commit is contained in:
Lucas.Xu 2022-07-18 17:58:15 +08:00 committed by MikeWallaceDev
parent 7a197df57c
commit 32ee068c73

View File

@ -3,13 +3,21 @@ version: "3"
services:
app:
build: .
stdin_open: true
image: appflowy/appflowy:latest
stdin_open: true
# tty: true
devices:
- "/dev/dri:/dev/dri" # fixes MESA-LOADER error
- "/dev/dri:/dev/dri" # fixes MESA-LOADER error
environment:
- DISPLAY=${DISPLAY}
- NO_AT_BRIDGE=1 # fixes dbind-WARNING
- NO_AT_BRIDGE=1 # fixes dbind-WARNING
volumes:
- $HOME/.Xauthority:/root/.Xauthority:rw
- /tmp/.X11-unix:/tmp/.X11-unix
- /dev/dri:/dev/dri
- /var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket
- appflowy-data:/home/makepkg
network_mode: host
volumes:
appflowy-data: