64 lines
2.4 KiB
YAML
64 lines
2.4 KiB
YAML
captainVersion: 4
|
|
services:
|
|
$$cap_appname-db:
|
|
image: lscr.io/linuxserver/mariadb:$$cap_mariadb_version
|
|
environment:
|
|
PGID: 1000
|
|
PUID: 1000
|
|
MYSQL_ROOT_PASSWORD: $$cap_DB_PASS
|
|
TZ: $$cap_timezone
|
|
MYSQL_DATABASE: bookstackapp
|
|
MYSQL_USER: bookstack
|
|
MYSQL_PASSWORD: $$cap_DB_PASS
|
|
volumes:
|
|
- $$cap_appname-db-config:/config
|
|
caproverExtra:
|
|
notExposeAsWebApp: 'true'
|
|
$$cap_appname:
|
|
environment:
|
|
PUID: 1000
|
|
PGID: 1000
|
|
APP_URL: http://$$cap_appname.$$cap_root_domain
|
|
DB_HOST: srv-captain--$$cap_appname-db
|
|
DB_PORT: 3306
|
|
DB_USER: bookstack
|
|
DB_PASS: $$cap_DB_PASS
|
|
DB_DATABASE: bookstackapp
|
|
image: lscr.io/linuxserver/bookstack:$$cap_bookstack_version
|
|
restart: always
|
|
volumes:
|
|
- $$cap_appname-config:/config
|
|
caproverOneClickApp:
|
|
variables:
|
|
- label: Database Password
|
|
description: Password to connect to the database
|
|
defaultValue: $$cap_gen_random_hex(16)
|
|
id: $$cap_DB_PASS
|
|
- label: Timezone
|
|
description: This is the timezone for the application, find yours at https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
|
|
defaultValue: Europe/London
|
|
id: $$cap_timezone
|
|
- id: $$cap_bookstack_version
|
|
label: Version Tag
|
|
description: Check out their Docker page for the valid tags https://hub.docker.com/r/linuxserver/bookstack/tags
|
|
defaultValue: 'v23.10.4-ls118'
|
|
- id: $$cap_mariadb_version
|
|
label: MariaDB Version Tag
|
|
description: Check out their Docker page for the valid tags https://hub.docker.com/r/linuxserver/mariadb/tags
|
|
defaultValue: '10.11.5-r0-ls122'
|
|
instructions:
|
|
start: |-
|
|
A platform to create documentation/wiki content built with PHP & Laravel.
|
|
|
|
GitHub: https://github.com/BookStackApp/BookStack
|
|
end: |-
|
|
Aaaand you're done! 😄
|
|
|
|
Your service is available at http://$$cap_appname.$$cap_root_domain
|
|
|
|
The default username is admin@admin.com with the password of password.
|
|
displayName: BookStack
|
|
isOfficial: true
|
|
description: A platform to create documentation/wiki content built with PHP & Laravel
|
|
documentation: https://www.bookstackapp.com/docs/
|