Set local pg port if pg container is up.
This commit is contained in:
parent
a659a3c52a
commit
47e617c4eb
@ -1,6 +1,10 @@
|
||||
PAPERLESS_DBHOST={{ paperless_db_host }}
|
||||
PAPERLESS_DBSCHEMA={{ paperless_db_host }}
|
||||
{% if paperless_db_host == 'postgres' %}
|
||||
PAPERLESS_DBPORT=5432
|
||||
{% else %}
|
||||
PAPERLESS_DBPORT={{ paperless_db_port }}
|
||||
{% endif %}
|
||||
PAPERLESS_DBUSER={{ paperless_db_user }}
|
||||
PAPERLESS_DBPASS={{ paperless_db_password }}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user