Matthias Andreas Benkard | f5a24e4 | 2020-02-15 18:40:36 +0100 | [diff] [blame] | 1 | quarkus.log.level = INFO |
| 2 | #quarkus.log.category."org.hibernate".level = INFO |
| 3 | #quarkus.log.category."io.quarkus.oidc".level = FINEST |
| 4 | #quarkus.log.category."io.quarkus.vertx".level = FINEST |
| 5 | #quarkus.log.category."io.vertx.ext.auth.oauth2".level = FINEST |
| 6 | #quarkus.log.category."io.vertx.ext.jwt".level = FINEST |
| 7 | |
Matthias Andreas Benkard | 04a50e6 | 2020-02-16 19:08:38 +0100 | [diff] [blame] | 8 | mulkcms.tag-base = hub.benkard.de |
Matthias Andreas Benkard | 4940b29 | 2020-03-29 18:41:07 +0200 | [diff] [blame] | 9 | mulkcms.posts.default-max-results = 25 |
Matthias Andreas Benkard | ba3e58c | 2020-11-01 12:58:35 +0100 | [diff] [blame] | 10 | mulkcms.newsletter.time-zone = Europe/Vienna |
Matthias Andreas Benkard | 04a50e6 | 2020-02-16 19:08:38 +0100 | [diff] [blame] | 11 | |
Matthias Andreas Benkard | c7997aa | 2020-08-29 10:52:44 +0200 | [diff] [blame] | 12 | quarkus.datasource.db-kind = postgresql |
| 13 | quarkus.datasource.jdbc.driver = org.postgresql.Driver |
| 14 | quarkus.datasource.jdbc.max-size = 8 |
| 15 | quarkus.datasource.jdbc.min-size = 0 |
Matthias Andreas Benkard | 2f0b370 | 2020-01-12 15:46:34 +0100 | [diff] [blame] | 16 | |
Matthias Andreas Benkard | ab36adb | 2022-03-20 16:10:42 +0100 | [diff] [blame] | 17 | quarkus.hibernate-orm.metadata-builder-contributor = eu.mulk.mulkcms2.common.hibernate.HibernateMetadataBuilderContributor |
Matthias Andreas Benkard | f544d73 | 2022-05-07 21:02:46 +0200 | [diff] [blame^] | 18 | quarkus.hibernate-orm.validate-in-dev-mode = false |
Matthias Andreas Benkard | ab36adb | 2022-03-20 16:10:42 +0100 | [diff] [blame] | 19 | |
Matthias Andreas Benkard | 80fc431 | 2020-06-13 16:59:04 +0200 | [diff] [blame] | 20 | quarkus.liquibase.migrate-at-start = true |
Matthias Andreas Benkard | 2f0b370 | 2020-01-12 15:46:34 +0100 | [diff] [blame] | 21 | |
Matthias Andreas Benkard | c7997aa | 2020-08-29 10:52:44 +0200 | [diff] [blame] | 22 | %dev.quarkus.datasource.jdbc.url = jdbc:postgresql://localhost:5432/mulkcms |
Matthias Andreas Benkard | 2f0b370 | 2020-01-12 15:46:34 +0100 | [diff] [blame] | 23 | %dev.quarkus.datasource.username = mulk |
| 24 | %dev.quarkus.datasource.password = |
Matthias Andreas Benkard | 9222efa | 2020-01-24 19:11:24 +0100 | [diff] [blame] | 25 | %dev.quarkus.hibernate-orm.log.sql = true |
Matthias Andreas Benkard | 24a2514 | 2020-01-24 13:25:54 +0100 | [diff] [blame] | 26 | |
Matthias Andreas Benkard | c7997aa | 2020-08-29 10:52:44 +0200 | [diff] [blame] | 27 | %prod.quarkus.datasource.jdbc.url = jdbc:postgresql://postgresql.system:5432/mulkcms |
Matthias Andreas Benkard | 8b35def | 2020-01-31 19:13:01 +0100 | [diff] [blame] | 28 | %prod.quarkus.datasource.username = mulkcms |
| 29 | %prod.quarkus.datasource.password = |
| 30 | %prod.quarkus.hibernate-orm.log.sql = false |
| 31 | |
Matthias Andreas Benkard | c27d1cb | 2020-01-26 11:11:24 +0100 | [diff] [blame] | 32 | # Authentication |
Matthias Andreas Benkard | 4d8139f | 2020-09-10 15:39:10 +0200 | [diff] [blame] | 33 | quarkus.http.auth.proactive = true |
| 34 | |
Matthias Andreas Benkard | 24a2514 | 2020-01-24 13:25:54 +0100 | [diff] [blame] | 35 | quarkus.oidc.auth-server-url = https://login.benkard.de/auth/realms/master |
Matthias Andreas Benkard | 46022ab | 2021-07-17 21:29:32 +0200 | [diff] [blame] | 36 | quarkus.oidc.authentication.force-redirect-https-scheme = true |
Matthias Andreas Benkard | 24a2514 | 2020-01-24 13:25:54 +0100 | [diff] [blame] | 37 | quarkus.oidc.client-id = mulkcms |
| 38 | quarkus.oidc.application-type = web-app |
Matthias Andreas Benkard | 984a77b | 2020-02-02 15:41:51 +0100 | [diff] [blame] | 39 | quarkus.oidc.token.principal-claim = preferred_username |
Matthias Andreas Benkard | 85b5e26 | 2020-03-28 19:50:44 +0100 | [diff] [blame] | 40 | quarkus.oidc.authentication.cookie-path = / |
Matthias Andreas Benkard | 551f50c | 2020-03-15 12:34:07 +0100 | [diff] [blame] | 41 | #quarkus.oidc.authentication.redirect-path = /oidc/login |
Matthias Andreas Benkard | c27d1cb | 2020-01-26 11:11:24 +0100 | [diff] [blame] | 42 | |
| 43 | quarkus.security.users.file.enabled = false |
| 44 | quarkus.security.users.embedded.enabled = false |
| 45 | |
| 46 | # Authentication (dev) |
| 47 | %dev.quarkus.oidc.enabled = false |
| 48 | %dev.quarkus.security.users.embedded.enabled = true |
| 49 | %dev.quarkus.security.users.embedded.plain-text = true |
| 50 | %dev.quarkus.security.users.embedded.users.mulk = mulk |
| 51 | %dev.quarkus.security.users.embedded.roles.mulk = Admin |
Matthias Andreas Benkard | 8b35def | 2020-01-31 19:13:01 +0100 | [diff] [blame] | 52 | |
Matthias Andreas Benkard | 2a1383f | 2020-02-01 23:53:17 +0100 | [diff] [blame] | 53 | # Session cookies |
| 54 | quarkus.smallrye-jwt.enabled = false |
| 55 | mp.jwt.verify.publickey.location = META-INF/resources/jwt-signing-public-key.pem |
| 56 | mp.jwt.verify.issuer = https://matthias.benkard.de |
| 57 | smallrye.jwt.token.header = Cookie |
| 58 | smallrye.jwt.token.cookie = Bearer |
| 59 | smallrye.jwt.require.named-principal = true |
| 60 | %dev.mulkcms.jwt.keystore.file = example-keys.p12 |
| 61 | %prod.mulkcms.jwt.keystore.file = /secrets/keys.p12 |
| 62 | mulkcms.jwt.keystore.passphrase = 123456 |
| 63 | mulkcms.jwt.signing-key = MulkCMS-IdP |
| 64 | mulkcms.jwt.issuer = https://matthias.benkard.de |
| 65 | mulkcms.jwt.validity = P1D |
| 66 | |
Matthias Andreas Benkard | ba3e58c | 2020-11-01 12:58:35 +0100 | [diff] [blame] | 67 | # E-mail settings |
Matthias Andreas Benkard | be86a62 | 2021-02-06 07:29:52 +0100 | [diff] [blame] | 68 | quarkus.mailer.from = MulkCMS <mulkcms@benkard.de> |
Matthias Andreas Benkard | ba3e58c | 2020-11-01 12:58:35 +0100 | [diff] [blame] | 69 | quarkus.mailer.host = mail.benkard.de |
| 70 | quarkus.mailer.port = 587 |
| 71 | quarkus.mailer.start-tls = REQUIRED |
| 72 | quarkus.mailer.username = mulkcms@benkard.de |
Matthias Andreas Benkard | ff35894 | 2020-11-03 06:16:17 +0100 | [diff] [blame] | 73 | mulkcms.imap.port = 993 |
| 74 | |
| 75 | %dev.quarkus.mailer.host = mail.benkard.de |
Matthias Andreas Benkard | be86a62 | 2021-02-06 07:29:52 +0100 | [diff] [blame] | 76 | %dev.quarkus.mailer.from = MulkCMS <test@benkard.de> |
Matthias Andreas Benkard | ff35894 | 2020-11-03 06:16:17 +0100 | [diff] [blame] | 77 | %dev.quarkus.mailer.username = test@benkard.de |
| 78 | %dev.quarkus.mailer.password = test |
Matthias Andreas Benkard | ba3e58c | 2020-11-01 12:58:35 +0100 | [diff] [blame] | 79 | |
Matthias Andreas Benkard | 8b35def | 2020-01-31 19:13:01 +0100 | [diff] [blame] | 80 | # Deployment |
| 81 | docker.registry = docker.benkard.de |
| 82 | |
Matthias Andreas Benkard | e2d42e9 | 2020-06-16 21:08:30 +0200 | [diff] [blame] | 83 | quarkus.container-image.build = false |
| 84 | quarkus.container-image.push = false |
Matthias Andreas Benkard | db48be4 | 2020-04-17 21:44:59 +0200 | [diff] [blame] | 85 | quarkus.container-image.group = mulk |
| 86 | quarkus.container-image.name = mulkcms2 |
| 87 | quarkus.container-image.registry = docker.benkard.de |
| 88 | |
Matthias Andreas Benkard | 1ef241d | 2022-04-03 15:11:37 +0200 | [diff] [blame] | 89 | quarkus.jib.base-jvm-image = container-registry.oracle.com/java/openjdk:latest |
Matthias Andreas Benkard | 0c0a461 | 2020-12-20 13:37:32 +0100 | [diff] [blame] | 90 | #quarkus.jib.jvm-arguments = -XX:+UseShenandoahGC,-XX:ShenandoahGCHeuristics=compact |
Matthias Andreas Benkard | cc29e55 | 2021-01-22 14:47:29 +0100 | [diff] [blame] | 91 | quarkus.jib.jvm-arguments = -XX:G1PeriodicGCInterval=300000,-XX:G1PeriodicGCSystemLoadThreshold=0 |
Matthias Andreas Benkard | db48be4 | 2020-04-17 21:44:59 +0200 | [diff] [blame] | 92 | |
Matthias Andreas Benkard | 5e5e70a | 2020-04-18 06:29:22 +0200 | [diff] [blame] | 93 | quarkus.native.container-runtime = docker |
| 94 | |
Matthias Andreas Benkard | 8b35def | 2020-01-31 19:13:01 +0100 | [diff] [blame] | 95 | kubernetes.deployment.target = kubernetes |
| 96 | kubernetes.group = mulk |
| 97 | kubernetes.name = mulkcms2 |
| 98 | kubernetes.namespace = mulk |
| 99 | kubernetes.service-type = ClusterIP |
| 100 | kubernetes.image-pull-policy = Always |
| 101 | kubernetes.headless = true |
| 102 | kubernetes.service-account = default |
| 103 | kubernetes.env-vars[0].name = QUARKUS_DATASOURCE_PASSWORD |
| 104 | kubernetes.env-vars[0].secret = mulkcms2-secrets |
| 105 | kubernetes.env-vars[0].value = database-password |
Matthias Andreas Benkard | 2a1383f | 2020-02-01 23:53:17 +0100 | [diff] [blame] | 106 | kubernetes.env-vars[1].name = QUARKUS_OIDC_CREDENTIALS_SECRET |
| 107 | kubernetes.env-vars[1].secret = mulkcms2-secrets |
| 108 | kubernetes.env-vars[1].value = keycloak-secret |
Matthias Andreas Benkard | ba3e58c | 2020-11-01 12:58:35 +0100 | [diff] [blame] | 109 | kubernetes.env-vars[2].name = QUARKUS_MAILER_PASSWORD |
| 110 | kubernetes.env-vars[2].secret = mulkcms2-secrets |
| 111 | kubernetes.env-vars[2].value = email-password |
Matthias Andreas Benkard | 2a1383f | 2020-02-01 23:53:17 +0100 | [diff] [blame] | 112 | kubernetes.secret-volumes[0].volume-name = secrets |
| 113 | kubernetes.secret-volumes[0].secret-name = mulkcms2-secrets |
| 114 | kubernetes.secret-volumes[0].default-mode = 0444 |
| 115 | kubernetes.mounts[0].name = secrets |
| 116 | kubernetes.mounts[0].path = /secrets |
| 117 | kubernetes.mounts[0].read-only = true |