bookstack/docker-compose.yml hinzugefügt

This commit is contained in:
Phil 2024-02-12 21:19:01 +01:00
parent ffcfcb1f03
commit 4b89a11478

View file

@ -0,0 +1,42 @@
version: '3'
services:
db:
image: mariadb:latest
environment:
- MYSQL_ROOT_PASSWORD=password!
- MYSQL_DATABASE=bookstack
- MYSQL_USER=bookstack
- MYSQL_PASSWORD=password
volumes:
- db:/var/lib/mysql
bookstack:
image: solidnerd/bookstack:latest
depends_on:
- db
environment:
- DB_HOST=db:3306
- DB_DATABASE=bookstack
- DB_USERNAME=bookstack
- DB_PASSWORD=password
- APP_URL=https://docs.changeme.com
- APP_KEY=generateanrandom32string
- MAIL_DRIVER=smtp
- MAIL_HOST=mail.changeme.com
- MAIL_PORT=587
- MAIL_ENCRYPTION=tls
- MAIL_USERNAME=info@changeme.com
- MAIL_PASSWORD=changeme-password
- MAIL_FROM=info@changeme.com
- MAIL_FROM_NAME=docs.changeme.com
- APP_PROXIES=10.101.0.1 # use your reverse proxy ip
volumes:
- uploads:/var/www/bookstack/public/uploads
- storage:/var/www/bookstack/storage/uploads
ports:
- "8080:8080"
volumes:
db:
uploads:
storage: