-
Notifications
You must be signed in to change notification settings - Fork 150
Expand file tree
/
Copy pathapplication.conf
More file actions
101 lines (74 loc) · 1.96 KB
/
application.conf
File metadata and controls
101 lines (74 loc) · 1.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
api {
host = "0.0.0.0"
host = ${?API_HOST}
port = 8080
port = ${?API_PORT}
port = ${?PORT}
}
db {
username = "postgres"
username = ${?SQL_USERNAME}
password = "bootzooka"
password = ${?SQL_PASSWORD}
name = "bootzooka"
name = ${?SQL_DBNAME}
host = "localhost"
host = ${?SQL_HOST}
port = 5432
port = ${?SQL_PORT}
url = "jdbc:postgresql://"${db.host}":"${db.port}"/"${db.name}
url = ${?DATABASE_URL}
migrate-on-start = true
migrate-on-start = ${?MIGRATE_ON_START}
driver = "org.postgresql.Driver"
}
email {
mailgun {
enabled = false
enabled = ${?MAILGUN_ENABLED}
domain = "XXXX.mailgun.org"
domain = ${?MAILGUN_DOMAIN}
url = "https://api.eu.mailgun.net/v3/"${email.mailgun.domain}"/messages"
url = ${?MAILGUN_URL}
api-key = "XXX-XXX-XXX"
api-key = ${?MAILGUN_API_KEY}
sender-name = "bootzooka"
sender-name = ${?MAILGUN_SENDER_NAME}
sender-display-name = "Bootzooka"
sender-display-name = ${?MAILGUN_SENDER_DISPLAY_NAME}
}
smtp {
enabled = false
enabled = ${?SMTP_ENABLED}
host = ""
host = ${?SMTP_HOST}
port = 25
port = ${?SMTP_PORT}
username = ""
username = ${?SMTP_USERNAME}
password = ""
password = ${?SMTP_PASSWORD}
ssl-connection = false
ssl-connection = ${?SMTP_SSL_CONNECTION}
verify-ssl-certificate = true
verify-ssl-certificate = ${?SMTP_VERIFY_SSL_CERTIFICATE}
encoding = "UTF-8"
encoding = ${?SMTP_ENCODING}
from = "info@bootzooka.com"
from = ${?SMTP_FROM}
}
batch-size = 10
batch-size = ${?EMAIL_BATCH_SIZE}
email-send-interval = 1 second
email-send-interval = ${?EMAIL_SEND_INTERVAL}
}
password-reset {
reset-link-pattern = "http://localhost:3000/password-reset?code=%s"
reset-link-pattern = ${?PASSWORD_RESET_LINK_PATTERN}
code-valid = 1 day
code-valid = ${?PASSWORD_RESET_CODE_VALID}
}
user {
default-api-key-valid = 1 day
default-api-key-valid = ${?USER_DEFAULT_API_KEY_VALID}
}