Rename appservice_api -> app_service_api

This commit is contained in:
Till Faelligen 2022-05-03 13:08:27 +02:00
parent 5d16e02722
commit b795790924
4 changed files with 6 additions and 6 deletions

View file

@ -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

View file

@ -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:

View file

@ -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.

View file

@ -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