Skip to content

Commit

Permalink
Adding the db connection description to the (soon deprecated) default…
Browse files Browse the repository at this point in the history
…s.ini
  • Loading branch information
silverdaz committed May 17, 2019
1 parent 851eddc commit 4290025
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions lega/conf/defaults.ini
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,18 @@ connection_attempts = 10
retry_delay = 10
heartbeat = 0

[postgres]
host = localhost
port = 5432
user = lega_in
password = secret
database = lega
[db]
connection = postgres://lega_in:secret@localhost:5432/lega

# The connection is of the form:
# postgres://<user>:<password>@<host>:<port>/<database>
#
# The TLS settings are passed as query parameters to the connection URI
# for example: append to the above URI
# ?application_name=LocalEGA&sslmode=verify-full&sslcert=/etc/ega/ssl.cert&sslkey=/etc/ega/ssl.key&sslrootcert=/etc/ega/CA.cert

try = 2
try_interval = 1
sslmode = require
sslcert = /etc/ega/pg/ssl.cert

[keyserver]
ssl_certfile = /etc/ega/ssl.cert
Expand Down

0 comments on commit 4290025

Please sign in to comment.