-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathapplication-dev.sample.yml
More file actions
104 lines (100 loc) · 2.79 KB
/
application-dev.sample.yml
File metadata and controls
104 lines (100 loc) · 2.79 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
102
103
104
#
# Sample configuration file for the dev profile.
# Feel free to customize this file or, if needed, reach out to the Cosmo Tech for support.
#
# NOTE: Not all supported properties (declared in api/src/main/resources/application.yml)
# are included here.
# Only the relevant ones that need to be set are listed here.
#
logging:
level:
com.cosmotech: DEBUG
web: INFO
org.springframework: WARN
org.springframework.security: INFO
com.redis: INFO
server:
port: 8080
error:
whitelabel:
enabled: true
include-stacktrace: always
management:
endpoint:
health:
probes:
enabled: true
endpoints:
web:
exposure:
include: "*"
server:
port: 8081
spring:
ssl:
bundle:
pem:
keycloak:
truststore:
certificate: "classpath:[fill-this-value].pem" # certificate file
csm:
platform:
containerRegistry:
checkSolutionImage : false
api:
base-path: /
base-url: "[fill-this-value]" # e.g for running it locally http://localhost:8080
version: latest
event-publisher:
type: in_process
allowedTenants:
- "[fill-this-value]" # NAMESPACE
identityProvider:
tls:
enabled: true
bundle: "keycloak"
audience: account
authorizationUrl: "[fill-this-value]" # keycloak auth endpoint
defaultScopes:
openid: OpenId Scope
identity:
clientId: "[fill-this-value]"
clientSecret: "[fill-this-value]"
tenantId: "[fill-this-value]" # NAMESPACE
serverBaseUrl: "[fill-this-value]" # e.g https://kubernetes.cosmotech.com/keycloak
tokenUrl: "[fill-this-value]" # eg. https://kubernetes.cosmotech.com/keycloak/realms/brewery/protocol/openid-connect/token
metrics:
enabled: false
s3:
endpointUrl: "http://localhost:9000"
bucketName: "cosmotech-api"
accessKeyId: "s3_username"
secretAccessKey: "s3_password"
region: "dummy"
argo:
base-uri: "http://localhost:2746"
workflows:
namespace: "[fill-this-value]" # NAMESPACE
service-account-name: "[fill-this-value]" # e.g argo-workflows-$NAMESPACE-service-account
nodePoolLabel: ""
databases:
resources:
host: "localhost"
port: 6379
username: default
password: "[fill-this-value]"
tls:
enabled: false
data:
admin:
password: "[fill-this-value]"
username: "[fill-this-value]"
host: "[fill-this-value]" # postgresql-NAMESPACE.NAMESPACE.svc.cluster.local
port: 5432
schema: "[fill-this-value]"
reader:
password: "[fill-this-value]"
username: cosmotech_api_reader
writer:
password: "[fill-this-value]"
username: cosmotech_api_writer