Support for self-signed CA certificates (#1431)

This commit is contained in:
David Dix
2026-05-19 13:40:46 +02:00
committed by GitHub
parent 9cb3407600
commit 26f4dad832
3 changed files with 44 additions and 0 deletions
+11
View File
@@ -62,6 +62,13 @@ services:
# Without this mount, the Tailscale toggle in the UI is harmless —
# Bambuddy falls back to self-signed certs.
#- /var/run/tailscale/tailscaled.sock:/var/run/tailscale/tailscaled.sock
#
# Using a self signed certificate for Home Assistant
# Add your certificate to certs directory and mount it to the container.
# The certificate will be added to the system trust store on container startup.
# Enable the system trust store with the USE_SYSTEM_TRUST_STORE env var to
# have Bambuddy trust the certificate.
# - /path/to/certs:/usr/local/share/ca-certificates
environment:
- TZ=${TZ:-Europe/Berlin}
# User/group the container drops to after the entrypoint normalises
@@ -93,6 +100,10 @@ services:
# DATA_DIR/.mfa_encryption_key on first startup if unset. Override here
# to manage the key out-of-band (e.g. via a secret manager).
#- MFA_ENCRYPTION_KEY=
#
# Enable System Trust Store for certificate validation (e.g. for local Home Assistant)
# You also need to mount your certificates to the container (see volumes section above).
# - USE_SYSTEM_TRUST_STORE=true
restart: unless-stopped
# Optional: External PostgreSQL database