stacks: add .env + .env.secrets.ctmpl for identity-and-security stacks
Adds the real Vault Agent secret-rendering templates and non-secret env vars for authentik, vaultwarden, and wazuh - sanitized (real domain/email/SMTP provider genericized, kv/<host>/... paths use a generic 'host' placeholder instead of the real hostname). This is the standing pattern for the rest of stacks/ going forward.
This commit is contained in:
6 files changed
+41
No files matched your search
@@ -0,0 +1,19 @@
|
|||||||
|
AUTHENTIK_URL=https://authentik.local.example.com
|
||||||
|
|
||||||
|
# Exposed HTTP port
|
||||||
|
COMPOSE_PORT_HTTP=9000
|
||||||
|
|
||||||
|
# Volume Home
|
||||||
|
DOCKER=/path/to/docker_volumes
|
||||||
|
|
||||||
|
AUTHENTIK_EMAIL__HOST=smtp.example.com
|
||||||
|
AUTHENTIK_EMAIL__PORT=587
|
||||||
|
AUTHENTIK_EMAIL__USERNAME=[email protected]
|
||||||
|
AUTHENTIK_EMAIL__USE_TLS=true
|
||||||
|
AUTHENTIK_EMAIL__USE_SSL=false
|
||||||
|
AUTHENTIK_EMAIL__TIMEOUT=30
|
||||||
|
AUTHENTIK_EMAIL__FROM=[email protected]
|
||||||
|
|
||||||
|
# Database Configuration
|
||||||
|
PG_USER=authentik
|
||||||
|
PG_DB=authentik
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
AUTHENTIK_SECRET_KEY={{ with secret "kv/host/authentik" }}{{ .Data.data.authentik_secret_key }}{{ end }}
|
||||||
|
AUTHENTIK_EMAIL__PASSWORD={{ with secret "kv/host/authentik" }}{{ .Data.data.email_password }}{{ end }}
|
||||||
|
POSTGRES_PASSWORD={{ with secret "kv/host/authentik" }}{{ .Data.data.pg_pass }}{{ end }}
|
||||||
|
AUTHENTIK_POSTGRESQL__PASSWORD={{ with secret "kv/host/authentik" }}{{ .Data.data.pg_pass }}{{ end }}
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
# Exposed HTTP port
|
||||||
|
HTTP_PORT=8080
|
||||||
|
|
||||||
|
# System time zone
|
||||||
|
TZ=Etc/UTC
|
||||||
|
|
||||||
|
# ID's
|
||||||
|
PUID=1000
|
||||||
|
PGID=1000
|
||||||
|
|
||||||
|
# Volume Home
|
||||||
|
DOCKER=/path/to/docker_volumes
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
ADMIN_TOKEN={{ with secret "kv/host/vaultwarden" }}{{ .Data.data.admin_token | replaceAll "$" "$$" }}{{ end }}
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
DOCKER=/path/to/docker_volumes
|
||||||
|
TZ=Etc/UTC
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
INDEXER_PASSWORD={{ with secret "kv/host/wazuh" }}{{ .Data.data.indexer_password }}{{ end }}
|
||||||
|
API_PASSWORD={{ with secret "kv/host/wazuh" }}{{ .Data.data.api_password }}{{ end }}
|
||||||
|
DASHBOARD_PASSWORD={{ with secret "kv/host/wazuh" }}{{ .Data.data.dashboard_password }}{{ end }}
|
||||||
Reference in new issue
Block a user