Add support for injecting additional environment-variables into sliding-sync
This commit is contained in:
parent
2441cf3ab1
commit
c301c06a53
|
@ -85,6 +85,9 @@ matrix_sliding_sync_environment_variable_syncv3_secret: ''
|
|||
# Controls the SYNCV3_DB environment variable
|
||||
matrix_sliding_sync_environment_variable_syncv3_db: 'user={{ matrix_sliding_sync_database_username }} password={{ matrix_sliding_sync_database_password }} host={{ matrix_sliding_sync_database_hostname }} port={{ matrix_sliding_sync_database_port }} dbname={{ matrix_sliding_sync_database_name }} sslmode={{ matrix_sliding_sync_database_sslmode }}'
|
||||
|
||||
# Additional environment variables.
|
||||
matrix_sliding_sync_environment_variables_additional_variables: ''
|
||||
|
||||
matrix_sliding_sync_database_username: 'matrix_sliding_sync'
|
||||
matrix_sliding_sync_database_password: ''
|
||||
matrix_sliding_sync_database_hostname: ''
|
||||
|
|
|
@ -2,3 +2,5 @@ SYNCV3_SERVER={{ matrix_sliding_sync_environment_variable_syncv3_server }}
|
|||
SYNCV3_SECRET={{ matrix_sliding_sync_environment_variable_syncv3_secret }}
|
||||
SYNCV3_BINDADDR=:8008
|
||||
SYNCV3_DB={{ matrix_sliding_sync_environment_variable_syncv3_db }}
|
||||
|
||||
{{ matrix_sliding_sync_environment_variables_additional_variables }}
|
||||
|
|
Loading…
Reference in a new issue