]> git.immae.eu Git - perso/Immae/Projets/Cryptomonnaies/Cryptoportfolio/Front.git/blame_incremental - cmd/ansible/conf.toml.j2
Allow to configure the type of Postgres connection (tcp or unix).
[perso/Immae/Projets/Cryptomonnaies/Cryptoportfolio/Front.git] / cmd / ansible / conf.toml.j2
... / ...
CommitLineData
1log_level="info"
2mode="production"
3log_out="/var/cryptoportfolio-app/app.log"
4port="8080"
5
6[db]
7user="{{ postgres_user }}"
8password="{{ postgres_password }}"
9database="{{ postgres_database }}"
10type="{{ postgres_connection_type }}" # tcp or unix
11address="localhost:5432"
12
13[redis]
14type="{{ redis_adress_type }}" # tcp or unix
15address="localhost:6379"
16database=0
17
18[api]
19domain="{{ app_domain }}"
20jwt_secret="{{ jwt_secret }}"
21password_reset_secret="{{ password_reset_secret }}"
22free_sms_user="20996747"
23free_sms_pass="bM2ZPETB4zzWg3"
24
25[app]
26public_dir="/var/cryptoportfolio-app/static"