Port synapse to v2

This commit is contained in:
Aaron Dewes 2022-02-10 14:58:36 +01:00
parent 65e4f9b3af
commit 7b46b43127

View File

@ -2,9 +2,10 @@
# #
# SPDX-License-Identifier: AGPL-3.0-or-later # SPDX-License-Identifier: AGPL-3.0-or-later
# yaml-language-server: $schema=../../app-standard-v1.json # yaml-language-server: $schema=../../app-standard-v2.json
version: 2
version: 1
metadata: metadata:
category: Social category: Social
name: Synapse name: Synapse
@ -25,14 +26,18 @@ containers:
- image: matrixdotorg/synapse:v1.52.0@sha256:fb4a7e2fe44e6d06628e63bbba360d4196bbcf5cb42ff8f4b061ba05e9eb5405 - image: matrixdotorg/synapse:v1.52.0@sha256:fb4a7e2fe44e6d06628e63bbba360d4196bbcf5cb42ff8f4b061ba05e9eb5405
entrypoint: bash entrypoint: bash
command: -c './start.py generate && ./start.py migrate_config && exec ./start.py' command: -c './start.py generate && ./start.py migrate_config && exec ./start.py'
port: 8008
environment: environment:
UID: "1000" UID: "1000"
GID: "1000" GID: "1000"
SYNAPSE_HTTP_PORT: ${APP_SYNAPSE_SERVER_PORT} SYNAPSE_HTTP_PORT: 8008
SYNAPSE_SERVER_NAME: ${APP_HIDDEN_SERVICE} SYNAPSE_SERVER_NAME: ${APP_HIDDEN_SERVICE}
SYNAPSE_REPORT_STATS: yes SYNAPSE_REPORT_STATS: "yes"
SYNAPSE_ENABLE_REGISTRATION: yes SYNAPSE_ENABLE_REGISTRATION: "yes"
SYNAPSE_NO_TLS: yes SYNAPSE_NO_TLS: "yes"
name: server name: server
data: data:
- data/synapse:/data - data/synapse:/data
hiddenServicePorts:
- 80
- 8008s