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 --production

This 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:latest

Kubernetes

Deploy to Kubernetes with the generated manifests:

Bash
kubectl apply -f k8s/

Environment Configuration

Configure via environment variables:

VariableDescription
DATABASE_URLJDBC connection string
QQQ_AUTH_SECRETJWT signing key
QQQ_LOG_LEVELLogging level

Health Checks

qqq exposes health endpoints:

  • /health - Basic health check
  • /health/ready - Readiness probe
  • /health/live - Liveness probe
  • qRun Platform

    For managed deployment, see qRun documentation.

    Next Steps

  • qRun Overview - Managed platform
  • KB: Operations - Production operations
  • Powered by qqq