fix db vars in env
This commit is contained in:
parent
e3f20c18e0
commit
9d301c7a23
1 changed files with 7 additions and 3 deletions
|
@ -4,10 +4,14 @@
|
|||
REDIS_HOST={{ redis_host }}
|
||||
REDIS_PORT={{ redis_port }}
|
||||
# You may set DATABASE_URL instead for more advanced options
|
||||
{% if mastodon_db_login_unix_socket %}
|
||||
DB_HOST={{ mastodon_db_login_unix_socket }}
|
||||
{% else %}
|
||||
DB_HOST={{ db_host }}
|
||||
DB_USER={{ db_user }}
|
||||
DB_NAME={{ db_name }}
|
||||
DB_PASS={{ db_pass }}
|
||||
{% endif %}
|
||||
DB_USER={{ mastodon_db_user }}
|
||||
DB_NAME={{ mastodon_db }}
|
||||
DB_PASS={{ mastodon_db_password }}
|
||||
DB_PORT={{ db_port }}
|
||||
|
||||
# Federation
|
||||
|
|
Loading…
Reference in a new issue