ansible-infra/resources/chaosknoten/matrix-sync/docker_compose/compose.yaml.j2
Stefan Bethke 04f2b1d25c
All checks were successful
/ build (push) Successful in 31s
/ Ansible Lint (push) Successful in 3m47s
Limit the size of logs more severly
The goal is to:
* limit the amount of  (potentially) PII data by limiting retention time
* make sure the disk doesn't fill up with log data
* make it easier to look at logs on the system without having to wade through many old entries
2026-11-02 18:28:50 +01:00

20 lines
763 B
Django/Jinja

---
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: /configs
SYNC_INTERVAL: 123
restart: unless-stopped
volumes:
- ./configs:/configs