Set up Keycloak to Mailman sync for chaos@
All checks were successful
/ build (push) Successful in 25s
/ Ansible Lint (push) Successful in 2m23s

DRY_RUN=true, so no changes to Mailman are performed yet.
This commit is contained in:
Stefan Bethke 2026-07-26 16:19:41 +02:00
commit 685646c697
2 changed files with 22 additions and 5 deletions

View file

@ -68,6 +68,22 @@ services:
networks:
mailman:
keycloaksync:
restart: unless-stopped
command: ["uv", "run", "main.py", "sync"]
environment:
- DRY_RUN=true
- KEYCLOAK_CLIENT_ID=mailman-sync
- KEYCLOAK_CLIENT_SECRET={{ secret__lists__keycloak_client_secret }}
- KEYCLOAK_REALM=ccchh
- KEYCLOAK_URL=https://id.hamburg.ccc.de
- LIST_ATTRIBUTES=chaos@lists.hamburg.ccc.de:mailinglist-chaos
- MAILMAN_API_PASSWORD={{ secret__lists__rest_password }}
- MAILMAN_API_URL=http://mailman-core:8001/3.1
image: git.hamburg.ccc.de/ccchh/mailman-subscription-sync:latest
networks:
mailman:
networks:
mailman:
driver: bridge