mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
dfb6ff7d04
Small fixes for `docker-compose up` command's error and warning
24 lines
555 B
YAML
24 lines
555 B
YAML
version: "3"
|
|
|
|
services:
|
|
app:
|
|
build: .
|
|
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
|
|
- /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:
|