AppFlowy Docker & Self-Hosted Deployment

GitHub

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data.

RAW Compose
1. Pull Image (DOCKERHUB) docker pull appflowy/appflowy
2. Docker Run (1-Click Launch) docker run -d --name appflowy --restart always appflowy/appflowy:latest
3. Podman Run podman run -d --name appflowy --restart always appflowy/appflowy:latest
4. Skopeo Inspect (Zero-Pull Manifest) skopeo inspect docker://docker.io/appflowy/appflowy:latest
5. ORAS Pull (OCI Artifact) oras pull appflowy/appflowy:latest
6. Compose Deployment docker compose up -d
frontend/scripts/docker-buildfiles/docker-compose.yml
Download .yml
version: "3"

# NOTE: Docker should be allowed to connect to the X server in your host prior
# to running `docker compose up`. Run `xhost local:docker` in the host to allow
# for those connections, otherwise the following error will occur:
#         Gtk-WARNING **: cannot open display: :0
# See https://stackoverflow.com/a/34586732/8401696 for more context.

services:
  app:
    build:
      context: ../../..
      dockerfile: ./frontend/scripts/docker-buildfiles/Dockerfile
    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
    network_mode: host