Deploy Java applications on Kubernetes with Wodby.
This repository defines the Wodby stack manifests and default service composition for Java.
- Java stack on Wodby
- Browse Wodby application stacks
- Java stack guide
- Wodby stack documentation
- Stack manifest reference
Use one of the compatible boilerplates exposed by this stack's services to start with Wodby CI build configuration:
- Java service
- PostgreSQL service
- Valkey service
- Mailpit service
- OpenSMTPD service
- Gotenberg service
- Cloud PostgreSQL service
- OpenTelemetry Collector service
| Component / service | Default configuration |
|---|---|
Javajava |
required; enabled by default; links: db → postgres, redis → valkey, sendmail → mailpit, otel → otel-collector |
PostgreSQLpostgres |
optional; disabled by default; volumes: data 20 GB |
Valkeyvalkey |
optional; disabled by default |
Mailpitmailpit |
optional; disabled by default |
OpenSMTPDopensmtpd |
optional; disabled by default |
Gotenberggotenberg |
optional; disabled by default |
Cloud PostgreSQLcloud-postgres |
optional; disabled by default |
OpenTelemetry Collectorotel-collector |
optional; disabled by default |
Enabled optional services are selected by default but can be excluded when an app is created. Disabled optional services are available but not selected by default. Required services cannot be excluded.
wodby stack validate-manifest stack.yml --org <org-id>This stack fits any Java application that builds into a runnable jar with Maven or a Gradle wrapper, such as one on Quarkus, Micronaut, Javalin or no framework at all. For Spring Boot applications, the Spring Boot stack sets Spring Boot's own connection settings; for Kotlin, use the Kotlin stack.
The boilerplate needs no other service. PostgreSQL, Valkey and Mailpit are linked but disabled: enable one when the
application uses it, and the link sets its connection variables, such as DB_HOST, DB_PORT, DB_NAME,
DB_USERNAME and DB_PASSWORD for the database.
Start from Java boilerplate, or connect your own compatible source repository.
Review service versions, storage, links, and optional components when creating the application. The same stack can be reused across development, staging, and production environments.
- Fork this repository.
- Edit the stack manifest.
- Import the repository as a Git-backed stack.
When replacing or renaming a stack service, update every related link target and derivative reference. Stack-local names and referenced service names are distinct identifiers.