Compare commits

...
This repository has been archived on 2021-07-22. You can view files and clone it, but cannot push or open issues or pull requests.

49 Commits
coturn ... main

Author SHA1 Message Date
decentral1se 1b1cdf4af2
Revert internal network change (see coop-cloud/organising#62)
continuous-integration/drone/push Build is passing Details
2021-07-15 16:08:45 +02:00
Renovate Bot 68f18336d7 Version v1.38.0; sync labels
continuous-integration/drone/push Build is passing Details
2021-07-14 07:02:39 +00:00
Renovate Bot 012a93a689 Update matrixdotorg/synapse Docker tag to v1.38.0
continuous-integration/drone/pr Build is failing Details
continuous-integration/drone/push Build is passing Details
2021-07-14 07:02:29 +00:00
decentral1se bbb28ff6c2
Scope internal network internally
continuous-integration/drone/push Build is passing Details
2021-07-10 15:41:39 +02:00
Renovate Bot a79a2aa2d8 Version v1.37.1; sync labels
continuous-integration/drone/push Build is passing Details
2021-07-01 07:02:32 +00:00
Renovate Bot c1ad176dfc Update matrixdotorg/synapse Docker tag to v1.37.1
continuous-integration/drone/pr Build is failing Details
continuous-integration/drone/push Build is passing Details
2021-07-01 07:02:21 +00:00
Renovate Bot 627a0b6a01 Version v1.37.0; sync labels
continuous-integration/drone/push Build is passing Details
2021-06-30 07:02:33 +00:00
Renovate Bot 44836c713a Update matrixdotorg/synapse Docker tag to v1.37.0
continuous-integration/drone/pr Build is failing Details
continuous-integration/drone/push Build is failing Details
2021-06-30 07:02:22 +00:00
decentral1se 92ff8ebcb7 Version v1.36.0; sync labels
continuous-integration/drone/push Build is passing Details
2021-06-21 10:31:40 +00:00
decentral1se 4aca0bbf14
Use new image namespace
continuous-integration/drone/push Build is passing Details
2021-06-21 12:31:29 +02:00
decentral1se a0aea386a4 Version v1.36.0; sync labels
continuous-integration/drone/push Build is passing Details
2021-06-16 07:40:30 +00:00
decentral1se 7238f765b1
Version v1.36.0; sync labels
continuous-integration/drone/push Build is passing Details
2021-06-16 09:39:18 +02:00
Renovate Bot 03bbade383 Update matrixdotorg/synapse Docker tag to v1.36.0
continuous-integration/drone/pr Build is failing Details
continuous-integration/drone/push Build is passing Details
2021-06-16 07:02:25 +00:00
Renovate Bot 6da0caae76 Version v1.35.1; sync labels
continuous-integration/drone/push Build is passing Details
2021-06-04 07:03:30 +00:00
Renovate Bot 107737c377 Update matrixdotorg/synapse Docker tag to v1.35.1
continuous-integration/drone/pr Build is failing Details
continuous-integration/drone/push Build is failing Details
2021-06-04 07:03:18 +00:00
decentral1se 84574ff569
Remove trigger, we make the tags [ci skip] 2021-06-04 00:14:56 +02:00
decentral1se 56f2323bbb
Add release logic CI setup 2021-06-03 22:35:41 +02:00
decentral1se f7b95a6687
Version v1.35.0; sync labels 2021-06-03 22:34:06 +02:00
Renovate Bot a2e22e4a54
Update matrixdotorg/synapse Docker tag to v1.35.0 2021-06-03 22:34:06 +02:00
Renovate Bot 2952c623a1 Update matrixdotorg/synapse Docker tag to v1.34.0 2021-05-18 07:01:48 +00:00
decentral1se 74f7a698aa Merge pull request 'Update matrixdotorg/synapse Docker tag to v1.33.2 (main)' (#9) from renovate/main-docker-matrixdotorg-synapse-1.x into main
Reviewed-on: #9
2021-05-17 09:44:40 +02:00
Renovate Bot 7aed440d97 Update matrixdotorg/synapse Docker tag to v1.33.2 2021-05-12 07:01:49 +00:00
decentral1se aca1a644d9 Merge pull request 'Update matrixdotorg/synapse Docker tag to v1.33.1 (main)' (#8) from renovate/main-docker-matrixdotorg-synapse-1.x into main
Reviewed-on: #8
2021-05-10 10:26:23 +02:00
Renovate Bot 241b8bd7ff Update matrixdotorg/synapse Docker tag to v1.33.1 2021-05-07 07:01:57 +00:00
decentral1se 3c74eccfa1
Version v1.33.0; sync labels 2021-05-06 09:38:03 +02:00
decentral1se b704f7aceb Merge pull request 'Update matrixdotorg/synapse Docker tag to v1.33.0 (main)' (#7) from renovate/main-docker-matrixdotorg-synapse-1.x into main
Reviewed-on: #7
2021-05-06 09:37:14 +02:00
Renovate Bot c0bde0b431 Update matrixdotorg/synapse Docker tag to v1.33.0 2021-05-06 07:01:48 +00:00
decentral1se d968f064af
Version v1.32.2; sync labels 2021-05-03 09:27:34 +02:00
decentral1se d8307ad2bf Merge pull request 'Update matrixdotorg/synapse Docker tag to v1.32.2 (main)' (#6) from renovate/main-docker-matrixdotorg-synapse-1.x into main
Reviewed-on: #6
2021-05-03 09:26:39 +02:00
Renovate Bot d9ed3f07be Update matrixdotorg/synapse Docker tag to v1.32.2 2021-04-23 07:02:18 +00:00
decentral1se f98f61063a Merge pull request 'Update matrixdotorg/synapse Docker tag to v1.31.0 (main)' (#5) from renovate/main-docker-matrixdotorg-synapse-1.x into main
Reviewed-on: #5
2021-04-07 11:57:07 +02:00
Renovate Bot 714f11df3b Update matrixdotorg/synapse Docker tag to v1.31.0 2021-04-07 07:01:57 +00:00
3wordchant c1c6ece1dc Merge pull request 'Update matrixdotorg/synapse Docker tag to v1.30.1 (main)' (#4) from renovate/main-docker-matrixdotorg-synapse-1.x into main
Reviewed-on: #4
2021-04-06 10:37:58 +02:00
Renovate Bot 1f01929ed8 Update matrixdotorg/synapse Docker tag to v1.30.1 2021-04-06 07:01:48 +00:00
3wc fbb5b5a984 Version v1.9.1; sync labels 2021-04-05 11:45:45 +02:00
3wc e695bea733 Pin docker image tag 2021-04-05 11:44:11 +02:00
3wc 9420ca82ec Fix type name in README
[ci skip]
2021-03-02 20:24:18 +02:00
3wc 6f383f2c3a Fix README links & CI status
[ci skip]
2021-03-02 20:12:59 +02:00
3wc 31d1aba393 compose-stacks → coop-cloud
[ci skip]
2021-03-02 19:58:21 +02:00
3wc bc7d4c3c92 Follow new exciting README standard
See coop-cloud/organising#31
2021-03-02 18:38:38 +02:00
3wc e66832b78a Move config to abra.sh
Ref coop-cloud/abra#43
2021-02-08 15:28:40 +02:00
3wc 93c6214959 Fix embarrassing mass-typo 😳 2020-12-31 23:02:26 +02:00
3wc e490ccbfca APP → TYPE
Ref coop-cloud/abra#47
2020-12-31 22:54:41 +02:00
3wc 139c4ecfc4 Switch from envrc → env format
Ref coop-cloud/abra#40
2020-12-30 13:23:03 +02:00
3wc 52af3d76ae SERVICE -> APP 2020-10-29 19:48:31 +02:00
Luke Murphy 8a20bddd41
Remove whitespace 2020-10-27 08:48:06 +01:00
Luke Murphy 6f0999895f
Make generic 2020-10-27 08:47:59 +01:00
decentral1se a75a19a120 Merge pull request 'Configure Renovate' (#3) from renovate/configure into main
Reviewed-on: compose-stacks/matrix-synapse#3
2020-09-15 08:53:33 +02:00
Renovate Bot 28c64539da Add renovate.json 2020-09-14 20:02:13 +00:00
7 changed files with 50 additions and 27 deletions

10
.drone.yml Normal file
View File

@ -0,0 +1,10 @@
---
kind: pipeline
name: recipe release
steps:
- name: release a new version
image: thecoopcloud/drone-abra:latest
settings:
command: recipe matrix-synapse release
deploy_key:
from_secret: abra_bot_deploy_key

4
.env.sample Normal file
View File

@ -0,0 +1,4 @@
DOMAIN=matrix.example.com
TYPE=matrix
LETS_ENCRYPT_ENV=production

View File

@ -1,6 +0,0 @@
export DOMAIN=matrix.example.com
export STACK_NAME=matrix
export LETS_ENCRYPT_ENV=production
export ENTRYPOINT_CONF_VERSION=v1

View File

@ -1,18 +1,29 @@
# Matrix Synapse
# Matrix (Synapse)
Matrix Synapse, based on the [official `matrixdotorg/synapse`
image][synapse-docker].
[![Build Status](https://drone.autonomic.zone/api/badges/coop-cloud/matrix-synapse/status.svg?ref=refs/heads/main)](https://drone.autonomic.zone/coop-cloud/matrix-synapse)
1. Set up Docker Swarm and [`abra`][abra]
2. Deploy [`compose-stacks/traefik`][compose-traefik]
2. `cp .envrc.sample .envrc`
3. Edit `.envrc` - be sure to change `$DOMAIN` to something that resolves to
<!-- metadata -->
* **Category**: Apps
* **Status**: ❹💣
* **Image**: [`matrixdotorg/synapse`](https://hub.docker.com/r/matrixdotorg/synapse), ❶💚, upstream
* **Healthcheck**: Yes
* **Backups**: No
* **Email**: No
* **Tests**: No
* **SSO**: No
<!-- endmetadata -->
## Basic usage
1. Set up Docker Swarm and [`abra`]
2. Deploy [`coop-cloud/traefik`]
3. `abra app new matrix-synapse --secrets` (optionally with `--pass` if you'd like
to save secrets in `pass`)
4. `abra app YOURAPPDOMAIN config` - be sure to change `$DOMAIN` to something that resolves to
your Docker swarm box
4. `direnv allow` (or `. .envrc`)
5. `abra deploy`
6. `abra service_run synapse` to open a shell
7. `register_new_matrix_user -c /data/homeserver.yaml http://localhost:8008`
5. `abra app YOURAPPDOMAIN deploy`
6. Create an initial user:
`abra app YOURAPPDOMAIN run app register_new_matrix_user -c /data/homeserver.yaml http://localhost:8008`
[synapse-docker]: https://hub.docker.com/r/matrixdotorg/synapse
[abra]: https://git.autonomic.zone/autonomic-cooperative/abra
[compose-traefik]: https://git.autonomic.zone/compose-stacks/traefik
[cc-traefik]: https://git.autonomic.zone/coop-cloud/traefik

2
abra.sh Normal file
View File

@ -0,0 +1,2 @@
export ENTRYPOINT_CONF_VERSION=v1
export TURNSERVER_CONF_VERSION=v1

View File

@ -1,9 +1,7 @@
---
version: "3.8"
services:
synapse:
image: "matrixdotorg/synapse:latest"
app:
image: "matrixdotorg/synapse:v1.38.0"
volumes:
- "data:/data"
environment:
@ -12,7 +10,7 @@ services:
- LETSENCRYPT_HOST=${DOMAIN}
- SYNAPSE_SERVER_NAME=${DOMAIN}
- SYNAPSE_REPORT_STATS=no
networks:
networks:
- proxy
deploy:
labels:
@ -21,6 +19,7 @@ services:
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`)"
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
- coop-cloud.${STACK_NAME}.app.version=v1.38.0-c9ed13d0
restart_policy:
condition: on-failure
delay: "60s"
@ -31,15 +30,12 @@ services:
- source: entrypoint_conf
target: /docker-entrypoint.sh
mode: 0555
volumes:
data:
networks:
proxy:
external: true
internal:
configs:
entrypoint_conf:
name: ${STACK_NAME}_entrypoint_${ENTRYPOINT_CONF_VERSION}

6
renovate.json Normal file
View File

@ -0,0 +1,6 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
]
}