nomad

HCL and Docker files for Nomad deployments
git clone https://git.in0rdr.ch/nomad.git
Log | Files | Refs | Pull requests

commit be9fafece992aa5687d7e0ff3d2133fdd3a05d4f
parent 4dbfe16fb45cc7f552241469ed6e65141aed246d
Author: Andreas Gruhler <andreas.gruhler@adfinis.com>
Date:   Tue,  4 Jun 2024 23:48:06 +0200

feat(mastodon): move vapid pubkey to vault

Diffstat:
M.gitleaksignore | 2++
Mhcl/default/mastodon/templates/env.production.tmpl | 2+-
2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/.gitleaksignore b/.gitleaksignore @@ -1,2 +1,4 @@ b39cf616f531642bf91d485837c6b48c60241283:hcl/default/ampache/templates/ampache.cfg.php.dist:generic-api-key:116 b39cf616f531642bf91d485837c6b48c60241283:hcl/default/ampache/templates/ampache.cfg.php.dist:generic-api-key:696 +34c50ed2ca47de1bb4e330b471fe1f9c75883c76:hcl/default/ampache/templates/ampache.cfg.php.tmpl:generic-api-key:696 +b39cf616f531642bf91d485837c6b48c60241283:hcl/default/ampache/templates/ampache.cfg.php.tmpl:generic-api-key:696 diff --git a/hcl/default/mastodon/templates/env.production.tmpl b/hcl/default/mastodon/templates/env.production.tmpl @@ -31,7 +31,7 @@ OTP_SECRET={{with secret "kv/mastodon"}}{{index .Data.data.otp_secret}}{{end}} # Generate with `rake mastodon:webpush:generate_vapid_key` # -------- VAPID_PRIVATE_KEY={{with secret "kv/mastodon"}}{{index .Data.data.vapid_private_key}}{{end}} -VAPID_PUBLIC_KEY=BMNtaIhR6nNC3-up0lcBA_kcshabe2mE9XeD7iYECf908w6miCeZoPEgNql3vIBi_XyuhaaHzV6Xu0k27IjSTyQ= +VAPID_PUBLIC_KEY={{with secret "kv/mastodon"}}{{index .Data.data.vapid_public_key}}{{end}} # Sending mail # ------------