-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathapplication.properties
More file actions
51 lines (42 loc) · 2.09 KB
/
application.properties
File metadata and controls
51 lines (42 loc) · 2.09 KB
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
# Here we put all our configuration values
# we can define profile-specific values using `%<profile>.` prefix
# e.g. %dev.quarkus.log.level=DEBUG would only be applied in dev mode
# Datasource configuration
quarkus.datasource.db-kind=postgresql
quarkus.datasource.jdbc.url=jdbc:postgresql://localhost:5432/demo
quarkus.datasource.username=demo
quarkus.datasource.password=demo
# Flyway minimal config properties
quarkus.flyway.migrate-at-start=true
quarkus.flyway.baseline-on-migrate=true
quarkus.flyway.baseline-version=0
# Metrics
# all of these are default values, metrics would work just fine if you remove it
quarkus.micrometer.binder-enabled-default=true
# also report metrics from microprofile
quarkus.micrometer.binder.mp-metrics.enabled=true
# implicit metrics from http client
quarkus.micrometer.binder.http-client.enabled=true
# implicit metrics from REST endpoints
quarkus.micrometer.binder.http-server.enabled=true
# DEV profile
# in dev mode, use flyway master-data
%quarkus.hibernate-orm.database.generation=none
# during dev, print sql produced by hibernate, disable in prod(default)
%dev.quarkus.hibernate-orm.log.sql=true
# disable json logs for better readability
%dev.quarkus.log.console.json=false
# if you want to see opentracing values in
%dev.quarkus.log.console.format=%d{HH:mm:ss} %-5p traceId=%X{traceId}, parentId=%X{parentId}, spanId=%X{spanId}, sampled=%X{sampled} [%c{2.}] (%t) %s%e%n
# TEST
%test.quarkus.datasource.jdbc.driver=org.testcontainers.jdbc.ContainerDatabaseDriver
%test.quarkus.datasource.jdbc.url=jdbc:tc:postgresql:11.5://demo_db
%test.quarkus.datasource.username=demo
%test.quarkus.datasource.password=demo
%test.quarkus.flyway.clean-at-start=true
ryuk.container.image=testcontainersofficial/ryuk
#access control settings
#to enable role-based access control based on JWTs, see the keycloak_authentication guide in the documentation/Keycloak folder
quarkus.smallrye-jwt.enabled=false
#mp.jwt.verify.issuer=http://localhost:8180/auth/realms/devon4quarkus-product
#mp.jwt.verify.publickey.location=http://localhost:8180/auth/realms/devon4quarkus-product/protocol/openid-connect/certs