]>
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 %>" | |
eeac44ec IB |
9 | <%- if @pg_hostname[0] == "/" -%> |
10 | type="unix" | |
11 | address="<%= @pg_hostname %>/.s.PGSQL.<%= @pg_port %>" | |
12 | <%- else -%> | |
13 | type="tcp" | |
14 | address="<%= @pg_hostname %>:<%= @pg_port %>" | |
15 | <%- end -%> | |
159df176 | 16 | |
a97de716 IB |
17 | <%- if !@redis_host.nil? && @redis_host != "" -%> |
18 | [redis] | |
19 | <%- if @redis_host[0] == "/" -%> | |
20 | type="unix" | |
21 | <%- else -%> | |
22 | type="tcp" | |
23 | <%- end -%> | |
24 | address="<%= @redis_host %>" | |
25 | database=0 | |
26 | <%- end -%> | |
27 | ||
159df176 | 28 | [api] |
0a21fb6c | 29 | domain="<%= @web_host %>" |
159df176 | 30 | jwt_secret="<%= @cf_front_app_api_secret %>" |
6b449ef8 IB |
31 | password_reset_secret="<%= @cf_front_app_password_reset_secret %>" |
32 | free_sms_user="<%= @cf_front_app_free_sms_user %>" | |
33 | free_sms_pass="<%= @cf_front_app_free_sms_pass %>" | |
159df176 IB |
34 | |
35 | [app] | |
36 | public_dir="../web/build/static" | |
5a5b32d8 IB |
37 | |
38 | <%- if !@smtp_host.nil? && @smtp_host != "" -%> | |
39 | [mail] | |
40 | login="<%= @smtp_login %>" | |
41 | address_from="<%= @mail_from %>" | |
42 | password="<%= @smtp_password %>" | |
43 | smtp_address="<%= @smtp_host %>" | |
44 | <%- end -%> |