diff options
author | jloup <jeanloup.jamet@gmail.com> | 2018-05-01 10:16:53 +0200 |
---|---|---|
committer | Ismaƫl Bouya <ismael.bouya@normalesup.org> | 2018-05-01 10:22:51 +0200 |
commit | 17b685396a34cb1fef8439e1b6802c6b7f59fbe2 (patch) | |
tree | a29f2f25cac1afa9fd335654e3db8c4a65c78d74 /cmd | |
parent | 2b2fd737b4b6e530e67de743e58b630d69228c57 (diff) | |
download | Front-17b685396a34cb1fef8439e1b6802c6b7f59fbe2.tar.gz Front-17b685396a34cb1fef8439e1b6802c6b7f59fbe2.tar.zst Front-17b685396a34cb1fef8439e1b6802c6b7f59fbe2.zip |
Fix PG migrations + redis config.
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/ansible/conf.toml.j2 | 5 | ||||
-rw-r--r-- | cmd/app/conf.toml | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/cmd/ansible/conf.toml.j2 b/cmd/ansible/conf.toml.j2 index 5f08a26..b2c3137 100644 --- a/cmd/ansible/conf.toml.j2 +++ b/cmd/ansible/conf.toml.j2 | |||
@@ -9,6 +9,11 @@ password="{{ postgres_password }}" | |||
9 | database="{{ postgres_database }}" | 9 | database="{{ postgres_database }}" |
10 | address="localhost:5432" | 10 | address="localhost:5432" |
11 | 11 | ||
12 | [redis] | ||
13 | type="{{ redis_adress_type }}" | ||
14 | address="localhost:6379" | ||
15 | database=0 | ||
16 | |||
12 | [api] | 17 | [api] |
13 | domain="{{ app_domain }}" | 18 | domain="{{ app_domain }}" |
14 | jwt_secret="{{ jwt_secret }}" | 19 | jwt_secret="{{ jwt_secret }}" |
diff --git a/cmd/app/conf.toml b/cmd/app/conf.toml index bdbf58b..13e3e0b 100644 --- a/cmd/app/conf.toml +++ b/cmd/app/conf.toml | |||
@@ -11,6 +11,7 @@ address="localhost:5432" | |||
11 | [redis] | 11 | [redis] |
12 | type="tcp" | 12 | type="tcp" |
13 | address="cryptoportfolio.immae.eu:7617" | 13 | address="cryptoportfolio.immae.eu:7617" |
14 | database=0 | ||
14 | 15 | ||
15 | [api] | 16 | [api] |
16 | domain="localhost" | 17 | domain="localhost" |