mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-11-04 20:28:11 +00:00
- Add CSP3 support for style/script: include -elem and -attr directives - Base (style-src, script-src) now unions elem/attr (CSP2/Safari fallback) - Respect explicit base disables (e.g. style-src.unsafe-inline: false) - Hashes only when 'unsafe-inline' absent in the final base tokens - Nginx: set CSP only for HTML/worker via header_filter_by_lua_block; drop for subresources - Remove per-location header_filter; keep body_filter only - Update app role flags to *-attr where appropriate; extend desktop CSS sources - Add comprehensive unit tests for union/explicit-disable/no-mirror-back Ref: https://chatgpt.com/share/68f87a0a-cebc-800f-bb3e-8c8ab4dee8ee
Confluence
Description
Confluence is Atlassian’s enterprise wiki and collaboration platform. This role deploys Confluence via Docker Compose, wires it to PostgreSQL, and integrates proxy awareness, optional OIDC SSO, health checks, and production-friendly defaults for Infinito.Nexus.
Overview
The role builds a minimal custom image on top of the official Confluence image, prepares persistent volumes, and exposes the app behind your reverse proxy. Configuration is driven by variables (image, version, volumes, domains, OIDC). JVM heap sizing is auto-derived from host RAM with safe caps to avoid Xms > Xmx.
Features
- Fully Dockerized: Compose stack with a dedicated data volume (
confluence_data) and a slim overlay image for future add-ons. - Reverse-Proxy Ready: Sets
ATL_PROXY_NAME/PORT/SCHEME/SECUREso Confluence generates correct external URLs behind HTTPS. - OIDC SSO (Optional): Pre-templated vars for issuer, client, scopes, JWKS; compatible with Atlassian DC SSO/OIDC marketplace apps.
- Central Database: PostgreSQL integration (local or central DB) with bootstrap credentials from role vars.
- JVM Auto-Tuning:
JVM_MINIMUM_MEMORY/JVM_MAXIMUM_MEMORYcomputed from host memory with upper bounds. - Health Checks: Curl-based container healthcheck for early failure detection.
- CSP & Canonical Domains: Hooks into platform CSP/SSL/domain management to keep policies strict and URLs stable.
- Backup Friendly: Data isolated under
{{ CONFLUENCE_HOME }}.
Further Resources
- Product page: Atlassian Confluence
- Docker Hub (official image): atlassian/confluence