vps/roles/postgres/templates/.env

7 lines
294 B
Bash
Raw Normal View History

# After initial setup, set to empty string to hide password
POSTGRES_PASSWORD='{{ (postgres_find_datadir_result.matched == 0) | ternary(lookup("community.general.random_string", special=false, length=64), "") }}'
2024-03-29 20:56:28 +01:00
# Required for Synapse
LANG=C
POSTGRES_INITDB_ARGS="--locale=C --encoding=UTF8"