Bookstack
Zu Beginn gab es Probleme mit Schreibrechten bei der DB, erst mit den Volumes beim Bookstack Container und dem absoluten Pfad beim MySQL Container hat es geklappt O_o
MEINE-DOMAIN und MEINPW123 ersetzen
FN (arm)
https://hub.docker.com/r/linuxserver/bookstack
<yourdbpass> und https://bookstack.example.com ersetzen!
services:
bookstack:
image: lscr.io/linuxserver/bookstack:26.03.2
container_name: bookstack
environment:
- PUID=1000
- PGID=1000
- APP_URL=https://bookstack.MEINEDOMAIN.DE
- DB_HOST=bookstack_db
- DB_PORT=3306
- DB_USER=bookstack
- DB_PASS=MEIN-DB-PASS
- DB_DATABASE=bookstackapp
# OIDC ab hier
- AUTH_METHOD=standard # hier nachher nochmal einloggen, um external-auth-id in admin ui zu vergeben
#- AUTH_METHOD=oidc
- AUTH_AUTO_INITIATE=false # Set this to "true" to automatically redirect the user to authentik.
- OIDC_NAME=Authentik # The display name shown on the login page.
- OIDC_DISPLAY_NAME_CLAIMS=name # Claim(s) for the user's display name. Can have multiple attributes listed, separated with a '|' in which case those values will be joined with a space.
- OIDC_CLIENT_ID=Drv...bOx
- OIDC_CLIENT_SECRET=ZPmeXvnaZapcw.......WrLl
- OIDC_ISSUER=https://auth.MEINEDOMAIN.DE/application/o/bookstack/
- OIDC_ISSUER_DISCOVER=true
- OIDC_END_SESSION_ENDPOINT=true
volumes:
- app:/config
ports:
- 6875:80
restart: unless-stopped
depends_on:
- bookstack_db
bookstack_db:
image: lscr.io/linuxserver/mariadb:10.11.8
container_name: bookstack_db
environment:
- PUID=1000
- PGID=1000
- MYSQL_ROOT_PASSWORD=FmNhDfNxF8Sdf6
- TZ=Europe/Berlin
- MYSQL_DATABASE=bookstackapp
- MYSQL_USER=bookstack
- MYSQL_PASSWORD=FmNhDfNxF8Sdf6
volumes:
- db:/config
restart: unless-stopped
volumes:
db:
app: