-
Notifications
You must be signed in to change notification settings - Fork 2
/
application.conf
executable file
·104 lines (75 loc) · 2.26 KB
/
application.conf
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
include "akka"
bootstrap-play2 {
profile = "slick.jdbc.PostgresProfile$"
database = {
urlPrefix = "jdbc:postgresql://"
urlPrefix = ${?URL_PREFIX}
# Database Host
host = "localhost"
host = ${?DATABASE_HOST}
# Database DB Name
db = "test"
db = ${?DATABASE_DB}
# Database Port
port = "5432"
port = ${?DATABASE_PORT}
url = ${?bootstrap-play2.database.urlPrefix}""${?bootstrap-play2.database.host}":"${?bootstrap-play2.database.port}"/"${?bootstrap-play2.database.db}
url = ${?DATABASE_URL}
# Database User and Password
user = "test"
user = ${?DATABASE_USER}
password = "test"
password = ${?DATABASE_PASSWORD}
// -- SETTINGS --
driver = org.postgresql.Driver
queueSize = 100
numThreads = 4
maxThreads = 4
maxConnections = 8
connectionTimeout = 7000
validationTimeout = 7000
}
}
smithy4play.autoRoutePackage = "de.innfactory.bootstrapplay2"
// ERROR HANDLER
# Override default error handler
play.http.errorHandler = "de.innfactory.bootstrapplay2.commons.errors.ErrorHandler"
// FIREBASE
firebase.file = "firebase.json"
firebase.file = ${?FIREBASE_FILEPATH}
// GCP
gcp.serviceAccount = "gcp-backend-sa.json"
gcp.serviceAccount = ${?GCP_CONFIG}
// PLAY SECRET
play.http.secret.key = "KE;PMNWm/SGwA?IU=OqznzyyR7hFFpET0:z=rjBl:aI4UY@@Ji_mia/>Ai9@9rRR"
play.http.secret.key = ${?PLAY_HTTP_SECRET_KEY}
// FILTERS
play.filters.enabled = [ "play.filters.cors.CORSFilter" ]
play.filters.cors {
pathPrefixes = ["/v1/"]
allowedOrigins = null
allowedHttpMethods = ["GET", "POST", "PUT", "PATCH", "DELETE", "HEAD"]
preflightMaxAge = 3 days
supportCredentials = true
exposedHeaders = ["Access-Control-Allow-Origin"]
}
// Access Logging (Which http status codes should be logged)
logging.access.statusList = [404,403,401]
logging.access.statusList = ${?LOGGING_STATUSLIST}
http.port = 8080
project.id = "bootstrap-play2"
project.id = ${?PROJECT_ID}
keycloak {
clientSecret = ""
clientSecret = ${?KEYCLOAK_CLIENT_SECRET}
clientId = ""
clientId = ${?KEYCLOAK_CLIENT_ID}
url = ""
url = ${?KEYCLOAK_URL}
basePath = ""
basePath = ${?KEYCLOAK_BASE_PATH}
authRealm = "dev"
authRealm = ${?KEYCLOAK_REALM}
realm = "dev"
realm = ${?KEYCLOAK_REALM}
}