adding bookstack
This commit is contained in:
parent
f909efaaa3
commit
0567870609
3 changed files with 43 additions and 1 deletions
6
bookstack/.env-example
Normal file
6
bookstack/.env-example
Normal file
|
@ -0,0 +1,6 @@
|
|||
APP_URL=https://some.url
|
||||
DB_USER=someuser
|
||||
DB_PASS=somepassword
|
||||
DB_DATABASE=somedb
|
||||
MYSQL_ROOT_PASSWORD=somepassword
|
||||
TZ=Europe/Helsinki
|
36
bookstack/docker-compose.yml
Normal file
36
bookstack/docker-compose.yml
Normal file
|
@ -0,0 +1,36 @@
|
|||
version: '3.8'
|
||||
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: ${DB_USER}
|
||||
DB_PASS: ${DB_PASS}
|
||||
DB_DATABASE: ${DB_DATABASE}
|
||||
volumes:
|
||||
- bookstack:/config
|
||||
ports:
|
||||
- 6875:80
|
||||
depends_on:
|
||||
- bookstack_db
|
||||
boockstack_db:
|
||||
image: lscr.io/linuxserver/mariadb
|
||||
container_name: bookstack_db
|
||||
environment:
|
||||
PUID: 1000
|
||||
PGID: 1000
|
||||
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
|
||||
TZ: ${TZ}
|
||||
MYSQL_DATABASE: ${DB_DATABASE}
|
||||
MYSQL_USER: ${DB_USER}
|
||||
MYSQL_PASS: ${DB_PASS}
|
||||
volumes:
|
||||
- bookstack:/config
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
bookstack:
|
|
@ -4,7 +4,7 @@ services:
|
|||
image: prom/prometheus:latest
|
||||
container_name: prometheus
|
||||
volumes:
|
||||
- prometheus:/etc/prometheus
|
||||
- ./prometheus:/etc/prometheus
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 9090:9090
|
||||
|
|
Loading…
Reference in a new issue