Bookstack added
This commit is contained in:
17
bookstack/.env
Normal file
17
bookstack/.env
Normal file
@@ -0,0 +1,17 @@
|
||||
# Password for bookstack MySQL user
|
||||
DB_PASS=<your_strong_pass>
|
||||
|
||||
# Password for root MySQL user
|
||||
DB_ROOT_PASS=<your_strongest_pass>
|
||||
|
||||
# Directory, where the bookstack itself will store the files
|
||||
CONFIG_PATH=/path/to/bookstack/config
|
||||
|
||||
# Directory, where MySQL data will be stored
|
||||
DB_DATA=/path/to/db/data
|
||||
|
||||
# Your timezone
|
||||
TZ=Europe/Warsaw
|
||||
|
||||
# The IP:port or URL your application will be accessed on (ie. http://192.168.1.1:6875 or https://bookstack.mydomain.com
|
||||
APP_URL=https://bookstack.example.com
|
||||
40
bookstack/compose.yaml
Normal file
40
bookstack/compose.yaml
Normal file
@@ -0,0 +1,40 @@
|
||||
---
|
||||
version: "2"
|
||||
services:
|
||||
bookstack:
|
||||
image: lscr.io/linuxserver/bookstack
|
||||
container_name: bookstack
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- APP_URL=${APP_URL}
|
||||
- DB_HOST=bookstack_db
|
||||
- DB_PORT=3306
|
||||
- DB_USER=bookstack
|
||||
- DB_PASS=${DB_PASS}
|
||||
- DB_DATABASE=bookstackapp
|
||||
volumes:
|
||||
- ${CONFIG_PATH}:/config
|
||||
ports:
|
||||
- 6875:80
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- stack.env
|
||||
depends_on:
|
||||
- bookstack_db
|
||||
bookstack_db:
|
||||
image: lscr.io/linuxserver/mariadb
|
||||
container_name: bookstack_db
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- MYSQL_ROOT_PASSWORD=${DB_ROOT_PASS}
|
||||
- TZ=${TZ}
|
||||
- MYSQL_DATABASE=bookstackapp
|
||||
- MYSQL_USER=bookstack
|
||||
- MYSQL_PASSWORD=${DB_PASS}
|
||||
volumes:
|
||||
- ${DB_DATA}:/config
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- stack.env
|
||||
Reference in New Issue
Block a user