Skip to content

Docker-Compose

These settings are best-effort and will likely require additional work to implement

Every docker-container we build, can be easily loaded using a docker-compose file.

Please note that any dependencies need to be manually connected (primarily their database names, usernames and passwords. Any optional dependancies or env-vars are commented out.

Please do check the application source for installation instructions and any env-vars and ports that are not managed/created by us.

Source: [{{ SOURCE }}]({{ SOURCE }})

name: bookstack
services:
bookstack:
cap_drop:
- ALL
container_name: bookstack
privileged: false
deploy:
resources:
limits:
cpus: 4
memory: 4G
environment:
APP_KEY: ""
APP_URL: ""
DB_DATABASE: bookstack
DB_HOST: ""
DB_PASS: 39d0442d672d19a524c3f923a71eb66bWORD
DB_PORT: "3306"
DB_USER: bookstack
QUEUE_CONNECTION: database
TZ: Etc/UTC
group_add:
- "568"
image: ghcr.io/trueforge-org/bookstack:26.03.4
ports:
- mode: ingress
# host_ip: 127.0.0.1
target: 80
published: "80"
protocol: tcp
- mode: ingress
# host_ip: 127.0.0.1
target: 443
published: "443"
protocol: tcp
restart: unless-stopped
shm_size: 256M
volumes:
- type: bind
source: /mnt/tank/apps/bookstack/config
target: /config
read_only: false
# mariadb:
# cap_drop:
# - ALL
# container_name: mariadb
# deploy:
# resources:
# limits:
# cpus: 4
# memory: "4294967296"
# environment:
# MARIADB_DATABASE: bookstack
# MARIADB_PASSWORD: 39d0442d672d19a524c3f923a71eb66bWORD
# MARIADB_ROOT_PASSWORD: 9059597519d4ed46a749c723684bd8d4WORD
# MARIADB_USER: bookstack
# TZ: Etc/UTC
# group_add:
# - "568"
# image: ghcr.io/trueforge-org/mariadb:11.4.8-r0
# ports:
# - mode: ingress
# host_ip: 127.0.0.1
# target: 3306
# published: "3306"
# protocol: tcp
# restart: unless-stopped
# shm_size: "268435456"
# volumes:
# - type: bind
# source: /mnt/tank/apps/mariadb/config
# target: /config