mirror of
https://github.com/jhd3197/ServerKit.git
synced 2026-11-09 05:24:49 +09:00
Switched all template icon URLs to use local /serverkit.ai/imgs/template-icons/ assets for consistency and reliability. Improved the Sidebar component with a new user context menu featuring theme switching, settings navigation, and logout, along with conditional display of the WordPress pipeline link. Added and updated related styles for the sidebar, user menu, and page headers, and introduced new theme variables for code/terminal backgrounds.
80 lines
1.8 KiB
YAML
80 lines
1.8 KiB
YAML
id: bookstack
|
|
name: BookStack
|
|
version: "23.12"
|
|
description: Simple, self-hosted platform for organizing and storing information
|
|
icon: https://serverkit.ai/imgs/template-icons/bookstack.png
|
|
website: https://www.bookstackapp.com
|
|
documentation: https://www.bookstackapp.com/docs/
|
|
categories:
|
|
- productivity
|
|
- wiki
|
|
- documentation
|
|
|
|
variables:
|
|
- name: HTTP_PORT
|
|
description: HTTP port
|
|
type: port
|
|
default: "8080"
|
|
hidden: true
|
|
- name: APP_URL
|
|
description: Application URL
|
|
default: http://localhost:8080
|
|
required: true
|
|
- name: DB_PASSWORD
|
|
description: MySQL password
|
|
type: password
|
|
generate: password
|
|
|
|
ports:
|
|
- port: 8080
|
|
protocol: tcp
|
|
description: Web interface
|
|
|
|
volumes:
|
|
- name: config
|
|
path: /config
|
|
description: BookStack configuration
|
|
|
|
compose:
|
|
services:
|
|
bookstack:
|
|
image: linuxserver/bookstack:${VERSION:-23.12.3}
|
|
container_name: ${APP_NAME}
|
|
restart: unless-stopped
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=1000
|
|
- TZ=UTC
|
|
- APP_URL=${APP_URL}
|
|
- DB_HOST=db
|
|
- DB_PORT=3306
|
|
- DB_USER=bookstack
|
|
- DB_PASS=${DB_PASSWORD}
|
|
- DB_DATABASE=bookstackapp
|
|
volumes:
|
|
- bookstack_config:/config
|
|
ports:
|
|
- "${HTTP_PORT}:80"
|
|
depends_on:
|
|
- db
|
|
|
|
db:
|
|
image: mariadb:10.11
|
|
container_name: ${APP_NAME}-db
|
|
restart: unless-stopped
|
|
environment:
|
|
- MYSQL_ROOT_PASSWORD=${DB_PASSWORD}
|
|
- MYSQL_DATABASE=bookstackapp
|
|
- MYSQL_USER=bookstack
|
|
- MYSQL_PASSWORD=${DB_PASSWORD}
|
|
volumes:
|
|
- bookstack_db:/var/lib/mysql
|
|
|
|
volumes:
|
|
bookstack_config:
|
|
bookstack_db:
|
|
|
|
post_install: |
|
|
echo "Default credentials: admin@admin.com / password"
|
|
echo "Please change the password after first login!"
|