diff --git a/coreos-config/roles/compose_project/templates/matrix/cinny-config.json b/coreos-config/roles/compose_project/templates/matrix/cinny-config.json new file mode 100644 index 0000000..da32301 --- /dev/null +++ b/coreos-config/roles/compose_project/templates/matrix/cinny-config.json @@ -0,0 +1,12 @@ +{ + "defaultHomeserver": 0, + "homeserverList": [ + "unruhig.eu", + "entropia.de", + "matrix.org", + "archlinux.org", + "kit.edu", + "mozilla.org" + ], + "allowCustomHomeservers": true +} diff --git a/coreos-config/roles/compose_project/templates/matrix/docker-compose.yaml b/coreos-config/roles/compose_project/templates/matrix/docker-compose.yaml index f0725ee..97686ff 100644 --- a/coreos-config/roles/compose_project/templates/matrix/docker-compose.yaml +++ b/coreos-config/roles/compose_project/templates/matrix/docker-compose.yaml @@ -89,6 +89,20 @@ services: - gateway - default + cinny: + image: ghcr.io/cinnyapp/cinny:latest + restart: unless-stopped + labels: + - "traefik.enable=true" + - "traefik.http.routers.matrix-cinny.rule=Host(`cinny.{{ matrix.baseurl }}`)" + - "traefik.http.routers.matrix-cinny.entryPoints=websecure" + - "traefik.http.services.matrix-cinny.loadbalancer.server.port=80" + volumes: + - ./cinny-config.json:/app/config.json:ro,Z + networks: + - gateway + - default + redis: image: redis:latest restart: unless-stopped