Adjust homeserver URL for Buscarron

This commit is contained in:
Slavi Pantaleev 2024-01-07 14:59:53 +02:00
parent 39e45b0298
commit 5e7b882ce9
3 changed files with 4 additions and 1 deletions

View File

@ -2038,6 +2038,8 @@ matrix_bot_buscarron_container_labels_traefik_docker_network: "{{ matrix_playboo
matrix_bot_buscarron_container_labels_traefik_entrypoints: "{{ devture_traefik_entrypoint_primary }}"
matrix_bot_buscarron_container_labels_traefik_tls_certResolver: "{{ devture_traefik_certResolver_primary }}"
matrix_bot_buscarron_homeserver: "{{ matrix_addons_homeserver_client_api_url }}"
# Postgres is the default, except if not using internal Postgres server
matrix_bot_buscarron_database_engine: "{{ 'postgres' if devture_postgres_enabled else 'sqlite' }}"
matrix_bot_buscarron_database_hostname: "{{ devture_postgres_connection_hostname if devture_postgres_enabled else '' }}"

View File

@ -140,7 +140,7 @@ matrix_bot_buscarron_login: "bot.buscarron"
matrix_bot_buscarron_password: ''
# the homeserver URL, uses internal synapse container address by default
matrix_bot_buscarron_homeserver: "{{ matrix_homeserver_container_url }}"
matrix_bot_buscarron_homeserver: ""
# forms configuration
matrix_bot_buscarron_forms: []

View File

@ -9,3 +9,4 @@
- {'name': 'matrix_bot_buscarron_password', when: true}
- {'name': 'matrix_bot_buscarron_hostname', when: true}
- {'name': 'matrix_bot_buscarron_database_hostname', when: "{{ matrix_bot_buscarron_database_engine == 'postgres' }}"}
- {'name': 'matrix_bot_buscarron_homeserver', when: true}