/
application.yaml
93 lines (93 loc) · 2.66 KB
/
application.yaml
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
form-flow:
lock-after-submitted:
- flow: ubi
redirect: success
design-system:
name: honeycrisp
languages: en, es
flow:
ubi:
email:
confirmation:
cc:
bcc:
session-continuity-interceptor:
enabled: true
encryption-key: '{"primaryKeyId":2135185311,"key":[{"keyData":{"typeUrl":"type.googleapis.com/google.crypto.tink.AesGcmKey","value":"GiCRKaXiJ/zlDHAZfRQf1rCIbIY4fFmLqLWYIPLNXpOx4A==","keyMaterialType":"SYMMETRIC"},"status":"ENABLED","keyId":2135185311,"outputPrefixType":"TINK"}]}"'
inputs: 'org.ilgcc.app.inputs.'
uploads:
accepted-file-types: '.jpeg,.jpg,.png,.pdf,.bmp,.gif,.doc,.docx,.odt,.ods,.odp'
thumbnail-width: '64'
thumbnail-height: '60'
# 20 files maximum
max-files: '20'
# 20 MB file size limit
# If this is not set then the server values below for servlet max-file-size and tomcat max POST size will not be set
# which will cause the server to use the default values of 1MB preventing uploads larger than that.
max-file-size: '20'
virus-scanning:
enabled: false
service-url: ${CLAMAV_URL}
block-if-unreachable: true
aws:
region: 'us-east-1'
s3_bucket_name: 'get-child-care-illinois-dev'
access_key: ${AWS_ACCESS_KEY}
secret_key: ${AWS_SECRET_KEY}
address-validation:
smarty:
auth-id: ${SMARTY_AUTH_ID}
auth-token: ${SMARTY_AUTH_TOKEN}
license: us-core-cloud
pdf:
path: 'src/main/resources/pdfs/'
map-file: pdf-map.yaml
generate-flattened: false
email-client:
mailgun:
key: ${MAILGUN_KEY:'no-key-set'}
domain: 'mail.forms-starter.cfa-platforms.org'
sender-email: 'UBI Demo <demo@mail.forms-starter.cfa-platforms.org>'
error:
pretty-print-packages: formflow,ilgcc
spring:
profiles:
group:
test:
- test
- form-flow-library
dev:
- dev
- form-flow-library
demo:
- demo
- form-flow-library
staging:
- staging
- form-flow-library
thymeleaf:
template-resolver-order: 0
check-template-location: true
web:
resources:
static-locations: file:src/main/resources/static/, file:generated/main/resources/static
datasource:
url: jdbc:postgresql://localhost:5432/il-gcc
username: il-gcc
servlet:
multipart:
max-file-size: ${form-flow.uploads.max-file-size}MB
max-request-size: ${form-flow.uploads.max-file-size}MB
logging:
level:
root: INFO
org.springframework.web: ERROR
server:
tomcat:
max-http-form-post-size: ${form-flow.uploads.max-file-size}MB
error:
whitelabel:
enabled: false
management:
endpoints:
enabled-by-default: false