35 lines
951 B
Plaintext
35 lines
951 B
Plaintext
[database]
|
|
# host is required (network host or path to Unix domain socket)
|
|
host = localhost
|
|
port = 5432
|
|
# database is required
|
|
database = serverctl
|
|
# user defaults to OS user
|
|
user = serverctl
|
|
password = serverctlsecret
|
|
version_table = public.schema_version
|
|
#
|
|
# sslmode generally matches the behavior described in:
|
|
# http://www.postgresql.org/docs/9.4/static/libpq-ssl.html#LIBPQ-SSL-PROTECTION
|
|
#
|
|
# There are only two modes that most users should use:
|
|
# prefer - on trusted networks where security is not required
|
|
# verify-full - require SSL connection
|
|
sslmode = prefer
|
|
#
|
|
# sslrootcert is generally used with sslmode=verify-full
|
|
# sslrootcert = /path/to/root/ca
|
|
|
|
# Proxy the above database connection via SSH
|
|
# [ssh-tunnel]
|
|
# host =
|
|
# port = 22
|
|
# user defaults to OS user
|
|
# user =
|
|
# password is not required if using SSH agent authentication
|
|
# password =
|
|
|
|
[data]
|
|
# Any fields in the data section are available in migration templates
|
|
prefix = serverctl
|