-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapplication-template.yml
71 lines (62 loc) · 1.98 KB
/
application-template.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
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
# 1. copy this file under name application.yml (mentioned in .gitignore to prevent from committing)
# 2. fill it up with the secrets and configuration
dkjs:
# PROD, DEV or CI (github actions) - appended to the alert emails sent from the system
environment: DEV
spring:
profiles:
# separated by comma:
# standard-time - to be set on production, exclusive with compressed-time
# compressed-time - should be used also for development and CI
# security - enables security - login window, not necessary during development
# but should be enabled on production and test system
active:
# standard SMTP settings
# note: using it with GMail requires enabling access to less-safe apps
# for more comprehensive setup, e.g. connection timeouts, refer to spring boot documentation
mail:
host:
port: 587
username:
password:
properties:
mail:
smtp:
auth: true
starttls:
enable: true
documents:
# base URL of the website holding pre-generated survey PDF documents
urlBase: https://www.auf-leben.org/evaluation/
mail:
# the email address from which surveys mails are being sent
from:
# the email address of the mailbox receiving alert messages
sendAlertsTo:
typeform:
# typeform client id - API key
clientId:
# base URL of typeform forms
urlBase:
forms:
impuls: LZewTxb9
pre: PoPWc4nm
post: IGz0ULpp
goalGPre: XYMjbimk
goalGPost: W1x2LslZ
# Required by WebSecurityConfig to enable authentication.
# Gotcha: the password should identify the encoder, e.g.:
# - "{noop}hunter7"
# - "{bcrypt}$2a$12$v1C5OQYqGvD./dFy9eQcV.h9qj.X1lN/K0X4ISVcwPnfTYqXmZO0a"
# Both of these values configure credentials with a password "hunter7"
credentials:
username:
password:
time:
timeZone: Europe/Berlin
# applied only for profile test, value 1 -> 1 day = 1s; 60 -> 1 day = 1m
dayDurationAsNumberOfSeconds: 1
# enable logging on DEV and PROD servers
#logging:
# file:
# path: logs