This repository has been archived by the owner on Mar 11, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 86
/
config.yaml
94 lines (76 loc) · 2.62 KB
/
config.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
94
#------------------------
# Postgres configuration
#------------------------
postgres.host: localhost
postgres.port: 5432
postgres.user: postgres
postgres.password: mysecretpassword
postgres.database: postgres
postgres.sslmode: disable
# The amount of time before the connection times out
postgres.connection.timeout: 5
# Duration to wait before trying to connect again
postgres.connection.retrysleep: 1s
postgres.connection.maxidle: -1
postgres.connection.maxopen: -1
# Timeout for a transaction in minutes
postgres.transaction.timeout: 5m
#------------------------
# HTTP configuration
#------------------------
http.address: 0.0.0.0:8080
#header.maxlength: 10240 # bytes
#------------------------
# HTTP Cache-Control
#------------------------
cachecontrol.workitems: max-age=2
cachecontrol.workitemtypes: max-age=2
cachecontrol.workitemlinks: max-age=2
cachecontrol.workitemlinktypes: max-age=2
cachecontrol.spaces: max-age=2
cachecontrol.spacetemplates: max-age=2
cachecontrol.iterations: max-age=2
cachecontrol.areas: max-age=2
cachecontrol.users: max-age=2
cachecontrol.collaborators: max-age=2
cachecontrol.comments: max-age=2
cachecontrol.filters: max-age=86400 # 1 day
# data returned from '/api/user' must not be cached by intermediate proxies,
# but can only be kept in the client's local cache.
cachecontrol.user: private,max-age=2
cachecontrol.trackerqueries: max-age=2
#------------------------
# Misc.
#------------------------
# Enable development related features, e.g. token generation endpoint
developer.mode.enabled: false
log.level: info
# Amount of seconds until the deployments connections timeout
deployments.http.timeout: 30
# Whether you want to create the common work item types such as bug, feature, ...
populate.commontypes: true
#------------------------
# Features
#------------------------
# Enable remote Work Item feature
feature.workitem.remote: false
# ----------------------------
# Authentication configuration
# ----------------------------
#auth.notapproved.redirect : https://manage.openshift.com/openshiftio
#auth.domain.prefix : auth
# ----------------------------
# Keycloak OAuth2.0 configuration
# ----------------------------
keycloak.client.id : fabric8-online-platform
keycloak.secret : 7a3d5a00-7f80-40cf-8781-b5b6f2dfd1bd
keycloak.domain.prefix : sso
keycloak.realm : fabric8
keycloak.testuser.name : testuser
keycloak.testuser.secret : testuser
keycloak.testuser2.name : testuser2
keycloak.testuser2.secret : testuser2
# Auth service URL
auth.url : https://auth.prod-preview.openshift.io
# Uncomment if FQDN URL's should be used instead of relative URL's:
# keycloak.url : https://sso.prod-preview.openshift.io