diff options
author | jloup <jeanloup.jamet@gmail.com> | 2018-05-04 18:19:52 +0200 |
---|---|---|
committer | jloup <jeanloup.jamet@gmail.com> | 2018-05-04 18:19:52 +0200 |
commit | 69db77ca4054d80ba2156b774a0c1467ff661c81 (patch) | |
tree | eae1b0f6d5aa421ae1b0125a7884f811c0a2acc6 /cmd/ansible | |
parent | 35e1f63a03a1cf55fe72839523790d38c0cea21b (diff) | |
download | Front-69db77ca4054d80ba2156b774a0c1467ff661c81.tar.gz Front-69db77ca4054d80ba2156b774a0c1467ff661c81.tar.zst Front-69db77ca4054d80ba2156b774a0c1467ff661c81.zip |
Allow to configure the type of Postgres connection (tcp or unix).
Diffstat (limited to 'cmd/ansible')
-rw-r--r-- | cmd/ansible/conf.toml.j2 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/ansible/conf.toml.j2 b/cmd/ansible/conf.toml.j2 index 7c82f84..cddc257 100644 --- a/cmd/ansible/conf.toml.j2 +++ b/cmd/ansible/conf.toml.j2 | |||
@@ -7,10 +7,11 @@ port="8080" | |||
7 | user="{{ postgres_user }}" | 7 | user="{{ postgres_user }}" |
8 | password="{{ postgres_password }}" | 8 | password="{{ postgres_password }}" |
9 | database="{{ postgres_database }}" | 9 | database="{{ postgres_database }}" |
10 | type="{{ postgres_connection_type }}" # tcp or unix | ||
10 | address="localhost:5432" | 11 | address="localhost:5432" |
11 | 12 | ||
12 | [redis] | 13 | [redis] |
13 | type="{{ redis_adress_type }}" | 14 | type="{{ redis_adress_type }}" # tcp or unix |
14 | address="localhost:6379" | 15 | address="localhost:6379" |
15 | database=0 | 16 | database=0 |
16 | 17 | ||