Add Bookstack blueprint with Docker Compose and configuration files

- Introduced Docker Compose setup for Bookstack service, including environment variables and volume configuration.
- Added logo for Bookstack.
- Created template.toml for Bookstack with default variables for configuration.
This commit is contained in:
Mauricio Siu 2025-03-30 20:02:37 -06:00
parent f0c7410df1
commit 06ef0b0606
3 changed files with 63 additions and 0 deletions

View File

@ -0,0 +1,35 @@
version: "3.8"
services:
bookstack:
image: lscr.io/linuxserver/bookstack:24.12.1
restart: unless-stopped
ports:
- 80
environment:
- PUID=1000
- PGID=1000
- APP_URL=http://${DOMAIN}
- DB_HOST=bookstack-db
- DB_USERNAME=mariadb
- DB_PASSWORD=${DB_PASSWORD}
- DB_DATABASE=bookstack
- APP_KEY=${APP_KEY}
volumes:
- config:/config
depends_on:
- bookstack-db
bookstack-db:
image: mariadb:10.11
restart: unless-stopped
environment:
- MYSQL_ROOT_PASSWORD=${DB_PASSWORD}
- MYSQL_DATABASE=bookstack
- MYSQL_USER=mariadb
- MYSQL_PASSWORD=${DB_PASSWORD}
volumes:
- db_data:/var/lib/mysql
volumes:
config: {}
db_data: {}

View File

@ -0,0 +1,13 @@
<svg xmlns="http://www.w3.org/2000/svg" height="61.699mm" width="65.023mm" version="1.1" viewBox="0 0 230.39711 218.6199">
<g stroke-linejoin="round" fill-rule="evenodd" transform="translate(-245.27 -58.434)" stroke="#0288d1" stroke-width="6" fill="#fff">
<g stroke-linecap="round">
<path d="m343.79 238.6 128.88-74.409-92.058-53.15-128.88 74.409z"></path>
<path d="m251.73 185.45v21.26l92.058 53.15 128.88-74.409v-21.26"></path>
<path d="m343.79 274.03-92.058-53.15s-7.5-16.918 0-28.346l92.058 53.15 128.88-74.409v28.346l-128.88 74.409"></path>
<path d="m343.79 188.99 128.88-74.41-92.06-53.146-128.88 74.406z"></path>
<path d="m343.79 188.99 128.88-74.409 0.00001 28.346-128.88 74.409-92.058-53.15s-6.0714-17.632 0-28.346z"></path>
<path d="m343.79 245.69-92.058-53.15s-7.5-16.918 0-28.346l92.058 53.15 128.88-74.409-0.00001 28.346-128.88 74.409"></path>
</g>
<path d="m402.09 73.836-55.234 31.89 21.48 1.7716 3.0686 12.402 55.235-31.89z"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 986 B

View File

@ -0,0 +1,15 @@
[variables]
main_domain = "${domain}"
db_password = "${password:16}"
app_key = "${password:32}"
[config]
[[config.domains]]
serviceName = "bookstack"
port = 80
host = "${main_domain}"
[config.env]
DOMAIN = "${main_domain}"
DB_PASSWORD = "${db_password}"
APP_KEY = "${app_key}"