blob: c877473eedb8a9348d76561049a747a8930c24f5 [file] [log] [blame]
Matthias Andreas Benkard761cb732020-01-25 05:52:34 +01001quarkus.log.console.color = true
2
Matthias Andreas Benkard2f0b3702020-01-12 15:46:34 +01003quarkus.datasource.driver = org.postgresql.Driver
4quarkus.datasource.max-size = 8
5quarkus.datasource.min-size = 0
6
7#quarkus.flyway.migrate-at-start = true
8#quarkus.flyway.baseline-on-migrate = true
9#quarkus.flyway.baseline-version = 1
10#quarkus.flyway.schemas = public
11
Matthias Andreas Benkard9222efa2020-01-24 19:11:24 +010012%dev.quarkus.datasource.url = jdbc:postgresql://localhost:5432/mulkcms
Matthias Andreas Benkard2f0b3702020-01-12 15:46:34 +010013%dev.quarkus.datasource.username = mulk
14%dev.quarkus.datasource.password =
Matthias Andreas Benkard9222efa2020-01-24 19:11:24 +010015%dev.quarkus.hibernate-orm.log.sql = true
Matthias Andreas Benkard24a25142020-01-24 13:25:54 +010016
Matthias Andreas Benkard8b35def2020-01-31 19:13:01 +010017%prod.quarkus.datasource.url = jdbc:postgresql://postgresql.system:5432/mulkcms
18%prod.quarkus.datasource.username = mulkcms
19%prod.quarkus.datasource.password =
20%prod.quarkus.hibernate-orm.log.sql = false
21
Matthias Andreas Benkardc27d1cb2020-01-26 11:11:24 +010022# Authentication
Matthias Andreas Benkard24a25142020-01-24 13:25:54 +010023quarkus.oidc.auth-server-url = https://login.benkard.de/auth/realms/master
24quarkus.oidc.client-id = mulkcms
25quarkus.oidc.application-type = web-app
Matthias Andreas Benkard984a77b2020-02-02 15:41:51 +010026quarkus.oidc.token.principal-claim = preferred_username
Matthias Andreas Benkarda6ac2a32020-02-15 18:40:20 +010027quarkus.oidc.authentication.redirect-path = /oidc/login
Matthias Andreas Benkardc27d1cb2020-01-26 11:11:24 +010028
29quarkus.security.users.file.enabled = false
30quarkus.security.users.embedded.enabled = false
31
32# Authentication (dev)
33%dev.quarkus.oidc.enabled = false
34%dev.quarkus.security.users.embedded.enabled = true
35%dev.quarkus.security.users.embedded.plain-text = true
36%dev.quarkus.security.users.embedded.users.mulk = mulk
37%dev.quarkus.security.users.embedded.roles.mulk = Admin
Matthias Andreas Benkard8b35def2020-01-31 19:13:01 +010038
Matthias Andreas Benkard2a1383f2020-02-01 23:53:17 +010039# Session cookies
40quarkus.smallrye-jwt.enabled = false
41mp.jwt.verify.publickey.location = META-INF/resources/jwt-signing-public-key.pem
42mp.jwt.verify.issuer = https://matthias.benkard.de
43smallrye.jwt.token.header = Cookie
44smallrye.jwt.token.cookie = Bearer
45smallrye.jwt.require.named-principal = true
46%dev.mulkcms.jwt.keystore.file = example-keys.p12
47%prod.mulkcms.jwt.keystore.file = /secrets/keys.p12
48mulkcms.jwt.keystore.passphrase = 123456
49mulkcms.jwt.signing-key = MulkCMS-IdP
50mulkcms.jwt.issuer = https://matthias.benkard.de
51mulkcms.jwt.validity = P1D
52
Matthias Andreas Benkard8b35def2020-01-31 19:13:01 +010053# Deployment
54docker.registry = docker.benkard.de
55
56kubernetes.deployment.target = kubernetes
57kubernetes.group = mulk
58kubernetes.name = mulkcms2
59kubernetes.namespace = mulk
60kubernetes.service-type = ClusterIP
61kubernetes.image-pull-policy = Always
62kubernetes.headless = true
63kubernetes.service-account = default
64kubernetes.env-vars[0].name = QUARKUS_DATASOURCE_PASSWORD
65kubernetes.env-vars[0].secret = mulkcms2-secrets
66kubernetes.env-vars[0].value = database-password
Matthias Andreas Benkard2a1383f2020-02-01 23:53:17 +010067kubernetes.env-vars[1].name = QUARKUS_OIDC_CREDENTIALS_SECRET
68kubernetes.env-vars[1].secret = mulkcms2-secrets
69kubernetes.env-vars[1].value = keycloak-secret
70kubernetes.secret-volumes[0].volume-name = secrets
71kubernetes.secret-volumes[0].secret-name = mulkcms2-secrets
72kubernetes.secret-volumes[0].default-mode = 0444
73kubernetes.mounts[0].name = secrets
74kubernetes.mounts[0].path = /secrets
75kubernetes.mounts[0].read-only = true