Skip to main content

Installation

The service can be installed through the Portainer web interface. 

Learn about creating a new stack.

Docker Compose

Use the following code to install the service:

---
services:
  actual-server:bookstack:
    image: docker.lscr.io/actualbudget/actual-server:latestlinuxserver/bookstack
    container_name: actual-server
    network_mode: bridgebookstack
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/Vancouver
      - APP_URL=
      - DB_HOST=bookstack-db
      - DB_PORT=3306
      - DB_USER=
      - DB_PASS=
      - DB_DATABASE=bookstackapp
      - ALLOWED_IFRAME_SOURCES="https://*.draw.io https://*.youtube.com https://*.youtube-nocookie.com https://*.vimeo.com"
      - ALLOWED_IFRAME_HOSTS=""
    volumes:
      # Persistent Data
      - /srv/actual-budget:bookstack/data:/dataconfig
    ports:
      - 5006:50066877:80
    restart: unless-stopped
    depends_on:
      - bookstack-db

  bookstack-db:
    image: lscr.io/linuxserver/mariadb
    container_name: bookstack-db
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/Vancouver
      - MYSQL_ROOT_PASSWORD=
      - MYSQL_DATABASE=bookstackapp
      - MYSQL_USER=bookstack
      - MYSQL_PASSWORD=
    volumes:
      - /srv/bookstack/db:/config
    restart: unless-stopped

Environment

Use the following environment to configure the service using the values prepared earlier:

TZ=America/Vancouver