BookStack
BookStack is a simple, self-hosted platform for organizing and storing information with a clean and intuitive interface. Content is organized in a three-level hierarchy: Shelves contain Books, which contain Chapters, which contain Pages — making it easy to structure documentation, knowledge bases, and wikis. This stack deploys BookStack using the LinuxServer.io image backed by MariaDB 11 for reliable data storage. BookStack features a WYSIWYG editor with Markdown support, full-text search, image management, page revision history, role-based permissions, and multi-language support. It also supports LDAP, SAML2, and OIDC authentication, API access, webhooks, and PDF/HTML/Markdown export. After deployment, access the web UI on port 80 and log in with the default credentials: [email protected] / password. Change these immediately.
शामिल सर्विसेज़
bookstack
lscr.io/linuxserver/bookstack:latest
एनवायरनमेंट वेरिएबल्स:
mariadb
mariadb:11
एनवायरनमेंट वेरिएबल्स:
जनरेटेड YAML
# Generated by ComposeHub (composehub.dev)
name: bookstack
services:
bookstack:
image: lscr.io/linuxserver/bookstack:latest
restart: always
ports:
- 80:80
volumes:
- bookstack_config:/config
environment:
PUID: ${PUID:-1000}
PGID: ${PGID:-1000}
TZ: ${TZ:-UTC}
APP_URL: ${APP_URL:-http://localhost}
DB_HOST: mariadb
DB_PORT: "3306"
DB_DATABASE: ${DB_DATABASE:-bookstack}
DB_USER: ${DB_USER:-bookstack}
DB_PASS: ${DB_PASSWORD:-changeme}
networks:
- bookstack
depends_on:
mariadb:
condition: service_healthy
healthcheck:
test:
- CMD-SHELL
- curl -f http://localhost/status || exit 1
interval: 30s
timeout: 10s
retries: 5
start_period: 60s
deploy:
resources:
limits:
cpus: "1.00"
memory: 512M
reservations:
cpus: "0.25"
memory: 128M
labels:
com.composehub.description: BookStack documentation and wiki platform
mariadb:
image: mariadb:11
restart: always
volumes:
- bookstack_db:/var/lib/mysql
environment:
MYSQL_DATABASE: ${DB_DATABASE:-bookstack}
MYSQL_USER: ${DB_USER:-bookstack}
MYSQL_PASSWORD: ${DB_PASSWORD:-changeme}
MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASSWORD:-changeme}
networks:
- bookstack
healthcheck:
test:
- CMD-SHELL
- healthcheck.sh --connect --innodb_initialized
interval: 10s
timeout: 5s
retries: 10
start_period: 30s
deploy:
resources:
limits:
cpus: "1.00"
memory: 512M
reservations:
cpus: "0.25"
memory: 128M
labels:
com.composehub.description: MariaDB 11 database for BookStack
networks:
bookstack:
driver: bridge
volumes:
bookstack_config:
driver: local
bookstack_db:
driver: local
त्वरित जानकारी
- सर्विसेज़
- 2
- नेटवर्क्स
- 1
- वॉल्यूम्स
- 2
कब उपयोग करें
यह टेम्पलेट एक bookstack एनवायरनमेंट सेटअप के लिए आदर्श है। सभी सर्विसेज़ healthchecks, रिसोर्स लिमिट्स और उचित डिफ़ॉल्ट सेटिंग्स के साथ पहले से कॉन्फ़िगर्ड हैं। प्रोडक्शन में डिप्लॉय करने से पहले एनवायरनमेंट वेरिएबल्स कस्टमाइज़ करें।
सुझाव
- डिप्लॉय करने से पहले सभी डिफ़ॉल्ट पासवर्ड बदलें
- अपने हार्डवेयर के अनुसार रिसोर्स लिमिट्स की समीक्षा करें
- प्रोडक्शन HTTPS के लिए रिवर्स प्रॉक्सी जोड़ें
- डेटा वॉल्यूम्स के लिए बैकअप रणनीतियाँ कॉन्फ़िगर करें