]>
Commit | Line | Data |
---|---|---|
159df176 | 1 | log_level="info" |
0a21fb6c | 2 | mode="<%= @env %>" |
159df176 IB |
3 | log_out="stdout" |
4 | ||
5 | [db] | |
0a21fb6c IB |
6 | user="<%= @pg_user %>" |
7 | password="<%= @pg_password %>" | |
8 | database="<%= @pg_db %>" | |
9 | address="<%= @pg_host %>" | |
159df176 | 10 | |
a97de716 IB |
11 | <%- if !@redis_host.nil? && @redis_host != "" -%> |
12 | [redis] | |
13 | <%- if @redis_host[0] == "/" -%> | |
14 | type="unix" | |
15 | <%- else -%> | |
16 | type="tcp" | |
17 | <%- end -%> | |
18 | address="<%= @redis_host %>" | |
19 | database=0 | |
20 | <%- end -%> | |
21 | ||
159df176 | 22 | [api] |
0a21fb6c | 23 | domain="<%= @web_host %>" |
159df176 | 24 | jwt_secret="<%= @cf_front_app_api_secret %>" |
6b449ef8 IB |
25 | password_reset_secret="<%= @cf_front_app_password_reset_secret %>" |
26 | free_sms_user="<%= @cf_front_app_free_sms_user %>" | |
27 | free_sms_pass="<%= @cf_front_app_free_sms_pass %>" | |
159df176 IB |
28 | |
29 | [app] | |
30 | public_dir="../web/build/static" |