tickets(host): move secrets to SOPS
Some checks failed
/ Ansible Lint (push) Failing after 1m48s

This commit is contained in:
June 2025-05-03 23:16:34 +02:00
commit b841cc1409
Signed by: june
SSH key fingerprint: SHA256:o9EAq4Y9N9K0pBQeBTqhSDrND5E7oB+60ZNx0U1yPe0
4 changed files with 253 additions and 2 deletions

View file

@ -4,7 +4,7 @@ services:
image: docker.io/library/postgres:15-alpine
environment:
- "POSTGRES_USER=pretix"
- "POSTGRES_PASSWORD={{ lookup("community.general.passwordstore", "noc/vm-secrets/chaosknoten/tickets/DB_PASSWORD", create=false, missing="error") }}"
- "POSTGRES_PASSWORD={{ lookup("community.sops.sops", "resources/chaosknoten/tickets/secrets.yaml", extract="['DB_PASSWORD']") }}"
- "POSTGRES_DB=pretix"
volumes:
- database:/var/lib/postgresql/data