fix postgres connection uri

This commit is contained in:
Robert Kaussow 2020-01-17 22:30:42 +01:00
parent a927f7a042
commit 8d1e78e095

View File

@ -19,7 +19,7 @@ services:
{% endif %} {% endif %}
environment: environment:
- BITWARDENRS_BASE_URL={{ bitwardenrs_base_url }} - BITWARDENRS_BASE_URL={{ bitwardenrs_base_url }}
- BITWARDENRS_DATABASE_URL=postgresql://{{ bitwardenrs_db_user }}:{{ bitwardenrs_db_password }}@{{ bitwardenrs_db_server }}:{{ bitwardenrs_db_port }}/{{ bitwardenrs_db_name }}?{{ bitwardenrs_db_ssl_mode }} - BITWARDENRS_DATABASE_URL=postgresql://{{ bitwardenrs_db_user }}:{{ bitwardenrs_db_password }}@{{ bitwardenrs_db_server }}:{{ bitwardenrs_db_port }}/{{ bitwardenrs_db_name }}?sslmode={{ bitwardenrs_db_ssl_mode }}
{% if bitwardenrs_templates_folder is defined and bitwardenrs_templates_folder %} {% if bitwardenrs_templates_folder is defined and bitwardenrs_templates_folder %}
- BITWARDENRS_TEMPLATES_FOLDER={{ bitwardenrs_templates_folder }} - BITWARDENRS_TEMPLATES_FOLDER={{ bitwardenrs_templates_folder }}
{% endif %} {% endif %}