Add matrix-sync compose setup
All checks were successful
/ build (pull_request) Successful in 28s
/ Ansible Lint (push) Successful in 6m20s
/ Ansible Lint (pull_request) Successful in 5m59s

This commit is contained in:
Stefan Bethke 2026-10-08 15:30:16 +02:00
commit 0bbe56ba61
6 changed files with 34 additions and 3 deletions

View file

@ -0,0 +1,19 @@
---
services:
sync:
image: git.hamburg.ccc.de/ccchh/matrix-member-sync:latest
command: ["uv", "run", "main.py", "sync"]
environment:
MATRIX_HOMESERVER_URL: https://matrix.hamburg.ccc.de
MATRIX_USER: ccchh-room-sync
MATRIX_ACCESS_TOKEN: {{ matrix_sync__matrix_access_token }}
KEYCLOAK_URL: https://id.hamburg.ccc.de
KEYCLOAK_REALM: ccchh
KEYCLOAK_CLIENT_ID: matrix-sync
KEYCLOAK_CLIENT_SECRET: {{ matrix_sync__keycloak_client_secret }}
ROOM_ATTRIBUTES: "!oLGvjHkQvheeAUPNYmsnFABg5oPsRiu5j1wMjRx7d_I=matrix-chaos,!Q2weVNy3-f1NbrS4k9DlcWf6MdPxwL3ARLcuNsVFeVs=matrix-intern"
MANUAL_MEMBER_LISTS: /manual-member-lists
restart: unless-stopped
volumes:
- ./manual-member-lists:/manual-member-lists