Example project for Java with Quarkus, Hibernate, PostgreSQL, Docker, Swagger UI and OpenAPI.
- Dockerfile: src/main/docker/Dockerfile.jvm
- docker-compose.yml: docker-compose.yml
- For simplicity, the image is built in the docker-compose.yml, in this project
/swagger-ui
- Swagger UI/openapi
- OpenAPI documentation/api/v1/...
- All other API endpoints
./gradlew build
docker-compose up
You can run your application in dev mode that enables live coding using:
./gradlew quarkusDev
The application can be packaged using:
./gradlew build