Commit graph

11 commits

Author SHA1 Message Date
c10b46276a feat(bookstack): add role for self-hosted BookStack deployment
Deploy BookStack with linuxserver.io images behind Traefik, including
Entra ID OIDC SSO support and a daily backup timer.

Stack:
- lscr.io/linuxserver/bookstack:version-v26.03.3
- lscr.io/linuxserver/mariadb:11.4.9
- Traefik labels for websecure entrypoint on internal network
- Healthcheck via mariadb-admin ping (LSIO image lacks healthcheck.sh)

Features:
- Persistent APP_KEY generated on first run, stored in volume dir
- Optional OIDC SSO via Microsoft Entra ID (configurable per-instance)
- Idempotent admin user creation with DB-based existence check
- Daily systemd timer backup (DB dump + uploads tar + APP_KEY)
  with configurable retention

Implementation notes:
- DB queries use --protocol=tcp with the app user because root@localhost
  uses unix_socket auth in the LSIO MariaDB image (no password) and
  root@% does not exist
- docker_container_exec uses argv: (list) instead of command: (string)
  to avoid argument-splitting issues
- Migration-wait task ensures users table exists before admin check,
  since /login returns 200 before Laravel migrations complete
- no_log: true on all tasks that reference DB or admin passwords
- artisan absolute path (/app/www/artisan) because LSIO image WORKDIR
  is not the app directory

Adds bookstack route to DMZ Traefik service registry.
2026-05-20 17:40:39 +02:00
1ddd5d9eb9 fix: added openform to vagrant playbooks and host_vars 2026-05-18 22:31:06 +02:00
f479a19595 fix: (vagrant) rearanged the staging of the services 2026-05-18 20:58:29 +02:00
e392ac66bd fix: (vagrant) updated some vagrant variables and added openform 2026-05-18 18:37:39 +02:00
75be32d8d0
chore: Deploy Homarr Service 2026-01-23 15:53:21 +01:00
1b0b2db43a
chore: apply authentik role for testing in vagrant 2026-01-14 18:04:35 +01:00
5b6ec5284e
feat: add nextcloud deployment 2025-12-19 15:00:11 +01:00
b129b7e146
chore: deploy garage role to vagrant backend host and expose webui 2025-11-07 17:36:29 +01:00
102b1d487f
chore: remove old inventory for now and add vagrant
old inventory was never in use. Vagrant for local development
2025-11-07 15:58:30 +01:00
75fc17c900
chore: add basic site and Makefile targets 2025-09-12 16:19:01 +02:00
270e58b9b6
chore: add empty ansible skeleton 2025-08-20 10:45:18 +02:00