diff --git a/apps/synapse/app.yml b/apps/synapse/app.yml index a151a00..8e737a7 100644 --- a/apps/synapse/app.yml +++ b/apps/synapse/app.yml @@ -2,9 +2,10 @@ # # 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: category: Social name: Synapse @@ -25,14 +26,18 @@ containers: - image: matrixdotorg/synapse:v1.52.0@sha256:fb4a7e2fe44e6d06628e63bbba360d4196bbcf5cb42ff8f4b061ba05e9eb5405 entrypoint: bash command: -c './start.py generate && ./start.py migrate_config && exec ./start.py' + port: 8008 environment: UID: "1000" GID: "1000" - SYNAPSE_HTTP_PORT: ${APP_SYNAPSE_SERVER_PORT} + SYNAPSE_HTTP_PORT: 8008 SYNAPSE_SERVER_NAME: ${APP_HIDDEN_SERVICE} - SYNAPSE_REPORT_STATS: yes - SYNAPSE_ENABLE_REGISTRATION: yes - SYNAPSE_NO_TLS: yes + SYNAPSE_REPORT_STATS: "yes" + SYNAPSE_ENABLE_REGISTRATION: "yes" + SYNAPSE_NO_TLS: "yes" name: server data: - data/synapse:/data + hiddenServicePorts: + - 80 + - 8008s \ No newline at end of file