Add bookstack
This commit is contained in:
parent
a5f8e07547
commit
6fec6a2b86
56
bookstack
Normal file
56
bookstack
Normal file
|
|
@ -0,0 +1,56 @@
|
||||||
|
# =====================================================================
|
||||||
|
# BookStack Portainer Stack (All-in-One)
|
||||||
|
# =====================================================================
|
||||||
|
#
|
||||||
|
# Anleitung für Portainer:
|
||||||
|
# 1. Gehe auf "Stacks" -> "Add stack"
|
||||||
|
# 2. Gib dem Stack einen Namen (z. B. "bookstack")
|
||||||
|
# 3. Kopiere diesen Inhalt in den Web-Editor
|
||||||
|
# 4. Klicke unten auf "Deploy the stack"
|
||||||
|
#
|
||||||
|
# URL im Browser: http://<DEINE-SERVER-IP>:6875
|
||||||
|
# Standard-Login:
|
||||||
|
# E-Mail: admin@admin.com
|
||||||
|
# Passwort: password
|
||||||
|
# =====================================================================
|
||||||
|
|
||||||
|
version: "3.8"
|
||||||
|
|
||||||
|
services:
|
||||||
|
bookstack:
|
||||||
|
image: lscr.io/linuxserver/bookstack:latest
|
||||||
|
container_name: bookstack
|
||||||
|
environment:
|
||||||
|
- PUID=1000
|
||||||
|
- PGID=1000
|
||||||
|
- APP_URL=http://localhost:6875 # Tipp: Falls du von anderen Geräten darauf zugreifst, trage hier die IP deines Servers ein (z. B. http://192.168.178.50:6875)
|
||||||
|
- DB_HOST=bookstack_db
|
||||||
|
- DB_USER=bookstack
|
||||||
|
- DB_PASS=v_I2O7fK-6e7tO3Z_B7G6Y # Automatisch generiertes, sicheres Passwort
|
||||||
|
- DB_DATABASE=bookstackapp
|
||||||
|
volumes:
|
||||||
|
- bookstack_data:/config
|
||||||
|
ports:
|
||||||
|
- 6875:80
|
||||||
|
restart: unless-stopped
|
||||||
|
depends_on:
|
||||||
|
- bookstack_db
|
||||||
|
|
||||||
|
bookstack_db:
|
||||||
|
image: lscr.io/linuxserver/mariadb:latest
|
||||||
|
container_name: bookstack_db
|
||||||
|
environment:
|
||||||
|
- PUID=1000
|
||||||
|
- PGID=1000
|
||||||
|
- MYSQL_ROOT_PASSWORD=K8_f9H_j2L_m5N_p8Q_s3T_v6W_z9Y # Automatisch generiertes Root-Passwort
|
||||||
|
- MYSQL_DATABASE=bookstackapp
|
||||||
|
- MYSQL_USER=bookstack
|
||||||
|
- MYSQL_PASSWORD=v_I2O7fK-6e7tO3Z_B7G6Y
|
||||||
|
volumes:
|
||||||
|
- bookstack_db_data:/config
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
# Portainer verwaltet diese Volumes automatisch auf deiner Festplatte:
|
||||||
|
volumes:
|
||||||
|
bookstack_data:
|
||||||
|
bookstack_db_data:
|
||||||
Loading…
Reference in a new issue