Deploy — Aquilia Documentation
Comprehensive guide and documentation for Deploy in the Aquilia framework. View API reference, examples, and implementation patterns.
CLI / Deploy Deploy & Production Commands The aq deploy command group generates production-ready deployment configurations (Docker, Kubernetes, reverse-proxy configs, monitoring dashboards) by scanning your active workspace modules. aq deploy dockerfile Generates optimized multi-stage Dockerfiles configured for compiled Aquilia artifacts. # Generate standard production Dockerfile aq deploy dockerfile # Generate development Dockerfile with hot reload aq deploy dockerfile --dev Options Option Description ))} aq deploy compose Generates a docker-compose.yml file containing configuration details of databases, caches, proxies, and schedulers matching your modules. # Generate docker-compose config aq deploy compose # Include Prometheus and Grafana monitoring stacks aq deploy compose --monitoring aq deploy kubernetes Generates a complete suite of Kubernetes manifest templates, including: Deployments & Services: Standard ASGI app process pod declarations. Ingress & HPA: Auto-scaler resources and routing maps. Secrets & ConfigMaps: Safe storage injection mapping environment variables. aq deploy kubernetes --output=deploy/k8s aq deploy nginx Scaffolds an Nginx reverse proxy server block, pre-configured with security headers, SSL directives, gzip compression, and websocket connection upgrades. aq deploy nginx aq deploy ci Creates automated continuous integration pipeline configurations (GitHub Actions or GitLab CI) to test, compile manifests, run doctor diagnostics, and build images. # GitHub Actions workflow aq deploy ci --provider=github # GitLab CI configuration aq deploy ci --provider=gitlab aq deploy monitoring Generates Prometheus scrape configurations and Grafana dashboard files to monitor request counts, latency, memory use, cache hits, and queue metrics. aq deploy monitoring aq deploy env Scaffolds a clean .env.example file populated with all configurable configuration keys detected in your modules and workspace settings. aq deploy env aq deploy makefile Generates a convenience Makefile with standard targets: make run, make test, make compile, make build, and make migrate. aq deploy makefile aq deploy all Utility command that runs all deploy command generators at once, outputting a complete, ready-to-run deploy folder. aq deploy all --monitoring --ci-provider=github )
Go to Homepage