Deployment
Deploy qqq applications to production
Overview
qqq applications can be deployed as standalone JAR files, Docker containers, or to the qRun managed platform.
Build for Production
Create a production build:
Bash
qctl build --productionThis generates an executable JAR with all dependencies.
Docker Deployment
qqq projects include Docker support:
Bash
# Build image
docker build -t myapp:latest .
# Run container
docker run -p 8080:8080 \
-e DATABASE_URL=jdbc:postgresql://db:5432/myapp \
myapp:latestKubernetes
Deploy to Kubernetes with the generated manifests:
Bash
kubectl apply -f k8s/Environment Configuration
Configure via environment variables:
| Variable | Description |
|---|---|
| DATABASE_URL | JDBC connection string |
| QQQ_AUTH_SECRET | JWT signing key |
| QQQ_LOG_LEVEL | Logging level |
Health Checks
qqq exposes health endpoints:
/health - Basic health check/health/ready - Readiness probe/health/live - Liveness probeqRun Platform
For managed deployment, see qRun documentation.