WIP - Add synapse

This commit is contained in:
Nicolas Meienberger 2022-06-10 06:42:53 +00:00
parent 0d9a9c0ea2
commit 5ba523ac67
5 changed files with 53 additions and 0 deletions

20
apps/synapse/config.json Normal file
View file

@ -0,0 +1,20 @@
{
"name": "Synapse",
"available": true,
"port": 8112,
"excluded_archs": ["armv7"],
"id": "synapse",
"categories": ["social"],
"short_desc": "Matrix homeserver",
"author": "matrix-org",
"source": "https://github.com/matrix-org/synapse",
"image": "/logos/apps/synapse.jpg",
"form_fields": {
"server_name": {
"type": "fqdn",
"label": "Server domain",
"required": true,
"env_variable": "SYNAPSE_SERVER_NAME"
}
}
}

View file

@ -0,0 +1,22 @@
version: "3.7"
services:
synapse:
container_name: synapse
image: matrixdotorg/synapse:v1.60.0
restart: on-failure
stop_grace_period: 1m
ports:
- "${APP_PORT}:${APP_PORT}"
entrypoint: "bash"
command: "-c './start.py generate && ./start.py migrate_config && exec ./start.py'"
volumes:
- ${APP_DATA_DIR}/data/synapse:/data
environment:
SYNAPSE_HTTP_PORT: "${APP_PORT}"
SYNAPSE_REPORT_STATS: "yes"
SYNAPSE_ENABLE_REGISTRATION: "yes"
SYNAPSE_NO_TLS: "yes"
SYNAPSE_SERVER_NAME: ${SYNAPSE_SERVER_NAME}
networks:
- tipi_main_network

View file

@ -0,0 +1,10 @@
Matrix is an ambitious new ecosystem for open federated Instant Messaging and
VoIP. The basics you need to know to get up and running are:
- Everything in Matrix happens in a room. Rooms are distributed and do not
exist on any single server. Rooms can be located using convenience aliases
like ``#matrix:matrix.org`` or ``#test:localhost:8448``.
- Matrix user IDs look like ``@matthew:matrix.org`` (although in the future
you will normally refer to yourself and others using a third party identifier
(3PID): email address, phone number, etc rather than manipulating Matrix user IDs)

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

View file

@ -18,4 +18,5 @@ export const appNames = [
'homarr',
'code-server',
'calibre-web',
'synapse',
];