vps/projects/postgres/.env.mako

9 lines
237 B
Mako

<%!
import random, string
password = ''.join(random.choice(string.ascii_letters + string.digits) for _ in range(64))
%>
POSTGRES_PASSWORD='${password}'
# Required for Synapse
LANG=C
POSTGRES_INITDB_ARGS="--locale=C --encoding=UTF8"