From 6fec6a2b86869179b06b429f808cc3c288e6a4f8 Mon Sep 17 00:00:00 2001 From: Timur Date: Tue, 14 Jul 2026 11:35:30 +0000 Subject: [PATCH] Add bookstack --- bookstack | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 bookstack diff --git a/bookstack b/bookstack new file mode 100644 index 0000000..73aed22 --- /dev/null +++ b/bookstack @@ -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://: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: \ No newline at end of file