add option to set db_name per instance
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
37df61eecf
commit
fa26ce9722
@ -73,7 +73,7 @@ services:
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% if droneci_autoscaler_db_type == "pgsql" %}
|
{% if droneci_autoscaler_db_type == "pgsql" %}
|
||||||
- DRONE_DATABASE_DRIVER=postgres
|
- DRONE_DATABASE_DRIVER=postgres
|
||||||
- DRONE_DATABASE_DATASOURCE=postgres://{{ droneci_autoscaler_db_user }}:{{ droneci_autoscaler_db_password }}@{{ droneci_autoscaler_db_server }}/{{ droneci_autoscaler_db_name }}?sslmode={{ droneci_autoscaler_db_ssl_mode }}
|
- DRONE_DATABASE_DATASOURCE=postgres://{{ droneci_autoscaler_db_user }}:{{ droneci_autoscaler_db_password }}@{{ droneci_autoscaler_db_server }}/{{ inst.db_name | default(droneci_autoscaler_db_name) }}?sslmode={{ droneci_autoscaler_db_ssl_mode }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% for item in inst.provider_config %}
|
{% for item in inst.provider_config %}
|
||||||
- {{ item.name | upper }}={{ item.value }}
|
- {{ item.name | upper }}={{ item.value }}
|
||||||
|
Loading…
Reference in New Issue
Block a user