A Java application built with Gradle and containerized with Docker.
- Java 25+
- Gradle 9+
- Docker & Docker Compose
- pre-commit hooks 4.20
pip install pre-commit==4.2.0
pre-commit install --overwritecp gradle.example.properties gradle.properties
# Edit gradle.properties with your configuration
./gradlew buildExport the required environment variables before starting:
export APP_PORT=42000
export EXPOSED_PORT=43000
docker compose up --buildOr override the defaults directly inline:
APP_PORT=42000 EXPOSED_PORT=43000 docker compose up --buildsrc/main/java/org/example/ # Application source code
documentation/ # Project documentation
code_review/ # Code review notesCopy gradle.example.properties to gradle.properties and fill in the required values.
This file is excluded from version control and injected as a Docker secret at build time.