From b79579092487192642ad201ead8443262072e155 Mon Sep 17 00:00:00 2001 From: Till Faelligen Date: Tue, 3 May 2022 13:08:27 +0200 Subject: [PATCH] Rename appservice_api -> app_service_api --- build/docker/config/dendrite.yaml | 4 ++-- build/docker/docker-compose.polylith.yml | 4 ++-- dendrite-config-monolith.yaml | 2 +- dendrite-config.yaml | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/build/docker/config/dendrite.yaml b/build/docker/config/dendrite.yaml index 726e95be9..d21d06c35 100644 --- a/build/docker/config/dendrite.yaml +++ b/build/docker/config/dendrite.yaml @@ -117,10 +117,10 @@ global: cache_lifetime: "5m" # 5minutes; see https://pkg.go.dev/time@master#ParseDuration for more # Configuration for the Appservice API. -appservice_api: +app_service_api: internal_api: listen: http://0.0.0.0:7777 - connect: http://appservice_api:7777 + connect: http://app_service_api:7777 database: connection_string: postgresql://dendrite:itsasecret@postgres/dendrite_appservice?sslmode=disable max_open_conns: 10 diff --git a/build/docker/docker-compose.polylith.yml b/build/docker/docker-compose.polylith.yml index de0ab0aa2..a04179a63 100644 --- a/build/docker/docker-compose.polylith.yml +++ b/build/docker/docker-compose.polylith.yml @@ -123,8 +123,8 @@ services: - internal restart: unless-stopped - appservice_api: - hostname: appservice_api + app_service_api: + hostname: app_service_api image: matrixdotorg/dendrite-polylith:latest command: appservice volumes: diff --git a/dendrite-config-monolith.yaml b/dendrite-config-monolith.yaml index d62e255ee..3e88c1740 100644 --- a/dendrite-config-monolith.yaml +++ b/dendrite-config-monolith.yaml @@ -140,7 +140,7 @@ global: cache_lifetime: "5m" # 5minutes; see https://pkg.go.dev/time@master#ParseDuration for more # Configuration for the Appservice API. -appservice_api: +app_service_api: # Disable the validation of TLS certificates of appservices. This is # not recommended in production since it may allow appservice traffic # to be sent to an unverified endpoint. diff --git a/dendrite-config.yaml b/dendrite-config.yaml index 4871fa919..419eed783 100644 --- a/dendrite-config.yaml +++ b/dendrite-config.yaml @@ -131,7 +131,7 @@ global: cache_lifetime: "5m" # 5minutes; see https://pkg.go.dev/time@master#ParseDuration for more # Configuration for the Appservice API. -appservice_api: +app_service_api: internal_api: listen: http://localhost:7777 # Only used in polylith deployments connect: http://localhost:7777 # Only used in polylith deployments