forked from xscript/piggymetrics-config
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnotification-service.yml
45 lines (41 loc) · 1.02 KB
/
notification-service.yml
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
security:
oauth2:
client:
clientId: notification-service
accessTokenUri: http://gateway/uaa/oauth/token
grant-type: client_credentials
scope: server
server:
servlet:
context-path: /notifications
port: 80
remind:
cron: 0 0 0 * * *
email:
text: "Hey, {0}! We''ve missed you here on PiggyMetrics. It''s time to check your budget statistics.\r\n\r\nCheers,\r\nPiggyMetrics team"
subject: PiggyMetrics reminder
backup:
cron: 0 0 12 * * *
email:
text: "Howdy, {0}. Your account backup is ready.\r\n\r\nCheers,\r\nPiggyMetrics team"
subject: PiggyMetrics account backup
attachment: backup.json
spring:
data:
mongodb:
database: piggymetrics
mail:
host: smtp.gmail.com
port: 465
username: dev-user
password: dev-password
properties:
mail:
smtp:
auth: true
socketFactory:
port: 465
class: javax.net.ssl.SSLSocketFactory
fallback: false
ssl:
enable: true