blob: b7c54da4c52f6b5c883bd997e7da828f294cfecd [file] [log] [blame]
Matthias Andreas Benkard761cb732020-01-25 05:52:34 +01001quarkus.log.console.color = true
2
Matthias Andreas Benkardf5a24e42020-02-15 18:40:36 +01003quarkus.log.level = INFO
4#quarkus.log.category."org.hibernate".level = INFO
5#quarkus.log.category."io.quarkus.oidc".level = FINEST
6#quarkus.log.category."io.quarkus.vertx".level = FINEST
7#quarkus.log.category."io.vertx.ext.auth.oauth2".level = FINEST
8#quarkus.log.category."io.vertx.ext.jwt".level = FINEST
9
Matthias Andreas Benkard04a50e62020-02-16 19:08:38 +010010mulkcms.tag-base = hub.benkard.de
Matthias Andreas Benkard4940b292020-03-29 18:41:07 +020011mulkcms.posts.default-max-results = 25
Matthias Andreas Benkardba3e58c2020-11-01 12:58:35 +010012mulkcms.newsletter.time-zone = Europe/Vienna
Matthias Andreas Benkard04a50e62020-02-16 19:08:38 +010013
Matthias Andreas Benkardc7997aa2020-08-29 10:52:44 +020014quarkus.datasource.db-kind = postgresql
15quarkus.datasource.jdbc.driver = org.postgresql.Driver
16quarkus.datasource.jdbc.max-size = 8
17quarkus.datasource.jdbc.min-size = 0
Matthias Andreas Benkard2f0b3702020-01-12 15:46:34 +010018
Matthias Andreas Benkard80fc4312020-06-13 16:59:04 +020019quarkus.liquibase.migrate-at-start = true
Matthias Andreas Benkard2f0b3702020-01-12 15:46:34 +010020
Matthias Andreas Benkardc7997aa2020-08-29 10:52:44 +020021%dev.quarkus.datasource.jdbc.url = jdbc:postgresql://localhost:5432/mulkcms
Matthias Andreas Benkard2f0b3702020-01-12 15:46:34 +010022%dev.quarkus.datasource.username = mulk
23%dev.quarkus.datasource.password =
Matthias Andreas Benkard9222efa2020-01-24 19:11:24 +010024%dev.quarkus.hibernate-orm.log.sql = true
Matthias Andreas Benkard24a25142020-01-24 13:25:54 +010025
Matthias Andreas Benkardc7997aa2020-08-29 10:52:44 +020026%prod.quarkus.datasource.jdbc.url = jdbc:postgresql://postgresql.system:5432/mulkcms
Matthias Andreas Benkard8b35def2020-01-31 19:13:01 +010027%prod.quarkus.datasource.username = mulkcms
28%prod.quarkus.datasource.password =
29%prod.quarkus.hibernate-orm.log.sql = false
30
Matthias Andreas Benkardc27d1cb2020-01-26 11:11:24 +010031# Authentication
Matthias Andreas Benkard4d8139f2020-09-10 15:39:10 +020032quarkus.http.auth.proactive = true
33
Matthias Andreas Benkard24a25142020-01-24 13:25:54 +010034quarkus.oidc.auth-server-url = https://login.benkard.de/auth/realms/master
35quarkus.oidc.client-id = mulkcms
36quarkus.oidc.application-type = web-app
Matthias Andreas Benkard984a77b2020-02-02 15:41:51 +010037quarkus.oidc.token.principal-claim = preferred_username
Matthias Andreas Benkard85b5e262020-03-28 19:50:44 +010038quarkus.oidc.authentication.cookie-path = /
Matthias Andreas Benkard551f50c2020-03-15 12:34:07 +010039#quarkus.oidc.authentication.redirect-path = /oidc/login
Matthias Andreas Benkardc27d1cb2020-01-26 11:11:24 +010040
41quarkus.security.users.file.enabled = false
42quarkus.security.users.embedded.enabled = false
43
44# Authentication (dev)
45%dev.quarkus.oidc.enabled = false
46%dev.quarkus.security.users.embedded.enabled = true
47%dev.quarkus.security.users.embedded.plain-text = true
48%dev.quarkus.security.users.embedded.users.mulk = mulk
49%dev.quarkus.security.users.embedded.roles.mulk = Admin
Matthias Andreas Benkard8b35def2020-01-31 19:13:01 +010050
Matthias Andreas Benkard2a1383f2020-02-01 23:53:17 +010051# Session cookies
52quarkus.smallrye-jwt.enabled = false
53mp.jwt.verify.publickey.location = META-INF/resources/jwt-signing-public-key.pem
54mp.jwt.verify.issuer = https://matthias.benkard.de
55smallrye.jwt.token.header = Cookie
56smallrye.jwt.token.cookie = Bearer
57smallrye.jwt.require.named-principal = true
58%dev.mulkcms.jwt.keystore.file = example-keys.p12
59%prod.mulkcms.jwt.keystore.file = /secrets/keys.p12
60mulkcms.jwt.keystore.passphrase = 123456
61mulkcms.jwt.signing-key = MulkCMS-IdP
62mulkcms.jwt.issuer = https://matthias.benkard.de
63mulkcms.jwt.validity = P1D
64
Matthias Andreas Benkardba3e58c2020-11-01 12:58:35 +010065# E-mail settings
66quarkus.mailer.from = mulkcms@benkard.de
67quarkus.mailer.host = mail.benkard.de
68quarkus.mailer.port = 587
69quarkus.mailer.start-tls = REQUIRED
70quarkus.mailer.username = mulkcms@benkard.de
71
Matthias Andreas Benkard8b35def2020-01-31 19:13:01 +010072# Deployment
73docker.registry = docker.benkard.de
74
Matthias Andreas Benkarde2d42e92020-06-16 21:08:30 +020075quarkus.container-image.build = false
76quarkus.container-image.push = false
Matthias Andreas Benkarddb48be42020-04-17 21:44:59 +020077quarkus.container-image.group = mulk
78quarkus.container-image.name = mulkcms2
79quarkus.container-image.registry = docker.benkard.de
80
Matthias Andreas Benkard99904f12020-09-16 13:37:55 +020081quarkus.jib.base-jvm-image = openjdk:15-slim
Matthias Andreas Benkard24319ba2020-04-24 06:18:14 +020082#quarkus.jib.jvm-arguments = -XX:+UnlockExperimentalVMOptions,-XX:+UseShenandoahGC,-XX:ShenandoahGCHeuristics=compact
Matthias Andreas Benkarddb48be42020-04-17 21:44:59 +020083
Matthias Andreas Benkard5e5e70a2020-04-18 06:29:22 +020084quarkus.native.container-runtime = docker
85
Matthias Andreas Benkard8b35def2020-01-31 19:13:01 +010086kubernetes.deployment.target = kubernetes
87kubernetes.group = mulk
88kubernetes.name = mulkcms2
89kubernetes.namespace = mulk
90kubernetes.service-type = ClusterIP
91kubernetes.image-pull-policy = Always
92kubernetes.headless = true
93kubernetes.service-account = default
94kubernetes.env-vars[0].name = QUARKUS_DATASOURCE_PASSWORD
95kubernetes.env-vars[0].secret = mulkcms2-secrets
96kubernetes.env-vars[0].value = database-password
Matthias Andreas Benkard2a1383f2020-02-01 23:53:17 +010097kubernetes.env-vars[1].name = QUARKUS_OIDC_CREDENTIALS_SECRET
98kubernetes.env-vars[1].secret = mulkcms2-secrets
99kubernetes.env-vars[1].value = keycloak-secret
Matthias Andreas Benkardba3e58c2020-11-01 12:58:35 +0100100kubernetes.env-vars[2].name = QUARKUS_MAILER_PASSWORD
101kubernetes.env-vars[2].secret = mulkcms2-secrets
102kubernetes.env-vars[2].value = email-password
Matthias Andreas Benkard2a1383f2020-02-01 23:53:17 +0100103kubernetes.secret-volumes[0].volume-name = secrets
104kubernetes.secret-volumes[0].secret-name = mulkcms2-secrets
105kubernetes.secret-volumes[0].default-mode = 0444
106kubernetes.mounts[0].name = secrets
107kubernetes.mounts[0].path = /secrets
108kubernetes.mounts[0].read-only = true