# documentation: https://www.bookstackapp.com/docs/ # slogan: BookStack is a simple, self-hosted, easy-to-use platform for organising and storing information # tags: free-and-open-source,mfa,dark-light-themes,searchable,connected,simple-interface,diagramms,notes # logo: svgs/bookstack.png # port: 80 services: bookstack: image: lscr.io/linuxserver/bookstack:latest environment: - SERVICE_FQDN_BOOKSTACK_80 - APP_URL=${SERVICE_FQDN_BOOKSTACK} - PUID=1000 - PGID=1000 - TZ=${TZ:-Europe/Berlin} - DB_HOST=mariadb - DB_PORT=3306 - DB_USER=${SERVICE_USER_MYSQL} - DB_PASS=${SERVICE_PASSWORD_MYSQL} - DB_DATABASE=${MYSQL_DATABASE:-bookstackapp} - QUEUE_CONNECTION=${QUEUE_CONNECTION} # You will need to set up an authentication provider as described at https://www.bookstackapp.com/docs/admin/third-party-auth/. - GITHUB_APP_ID=${GITHUB_APP_ID} - GITHUB_APP_SECRET=${GITHUB_APP_SECRET} volumes: - 'bookstack-data:/config' healthcheck: test: - CMD-SHELL - 'wget -qO- http://127.0.0.1:80/' interval: 5s timeout: 20s retries: 10 depends_on: mariadb: condition: service_healthy mariadb: image: lscr.io/linuxserver/mariadb:latest environment: - PUID=1000 - PGID=1000 - TZ=${TZ:-Europe/Berlin} - MYSQL_ROOT_PASSWORD=${SERVICE_PASSWORD_MYSQLROOT} - MYSQL_DATABASE=${MYSQL_DATABASE:-bookstack} - MYSQL_USER=${SERVICE_USER_MYSQL} - MYSQL_PASSWORD=${SERVICE_PASSWORD_MYSQL} volumes: - 'bookstack-mariadb-data:/config' healthcheck: test: - CMD - mysqladmin - ping - '-h' - 127.0.0.1 interval: 5s timeout: 20s retries: 10