Configuration
Every module deployed as a container is configured separately. There are two kinds of settings:
- Container settings: how the module connects to its databases, which HTTP port it listens on, its log level.
- Open ENT settings: behavior specific to the platform.
Environments
Settings live in application.properties files. Each module ships with two profiles:
| Profile | File |
|---|---|
| Development | application-dev.properties |
| Production | application-prod.properties |
Container settings
Any setting can be overridden, in the order of precedence defined by
MicroProfile Config: system properties, then
environment variables, then the properties files. In a container, the usual way is an environment
variable: quarkus.http.port becomes QUARKUS_HTTP_PORT.
| Setting | Description | Default |
|---|---|---|
quarkus.http.port | HTTP port the module listens on | Depends on the module |
quarkus.http.ssl-port | HTTPS port | Depends on the module |
quarkus.http.cors | Enables cross-origin requests | false |
quarkus.log.level | Log level: TRACE, DEBUG, INFO, WARN, ERROR | INFO |
quarkus.profile | Active profile: prod, dev, test | prod |
quarkus.application.name | Application name | none |
quarkus.application.version | Application version | none |
quarkus.banner.enabled | Prints the startup banner | true |
quarkus.smallrye-openapi.path | Path of the OpenAPI document | /openapi |
quarkus.devservices.enabled | Starts development services automatically | true |
quarkus.thread-pool.max-threads | Maximum size of the worker thread pool | 100 |
quarkus.package.type | Package type: jar, native, mutable-jar, fast-jar | jar |
quarkus.native.container-build | Builds the native executable inside a container | false |
The default ports are listed in Module paths and ports.
Open ENT settings
Settings specific to the platform start with openent.. They are documented with each module.