Transitive dependencies
A service URL or database reference adds the required service, owner, migration, and resource.
qahost builds an isolated environment for a target service and its complete dependency graph—without touching the shared develop stand. Dependencies a task does not change share common instances on their default branch, so stands stay cheap.
$ qahost plan app task=APP-123 resolving graph... ✓ app target ✓ identity dependency ✓ notifications dependency ✓ billing dependency ✓ PostgreSQL / Redis / RabbitMQ / MSSQL $ qahost stand up app-123 ready app.app-123.environments.example.com
One task. One environment.
Catalog references describe application dependencies and infrastructure allocations. qahost turns that graph into a disposable, observable environment.
A service URL or database reference adds the required service, owner, migration, and resource.
Sources are plain git: GitHub, GitLab, Bitbucket, and Gitea at once—public, token-authenticated, or over ssh. Reference a repo as github:org/app or through the default source.
Matching task branches are selected across sources with deterministic fallbacks.
A catalog service marked isolated: false runs once on its default branch for every stand that does not change it; a task branch of that dependency gets a private copy, and isolated or svc:local opts out. Common instances never share a Docker network—they are reached through traefik.
Dedicated databases, roles, vhosts, Redis DBs, and buckets share a resource-efficient pool.
Build from php, python, node, go, rust, or java image templates, or bring your own Dockerfile, CI image, or ready image.
CI/CD of any system calls the HTTP API with a personal bearer token: POST /api/stands creates or updates, DELETE /api/stands removes. Ready manual up/down pipelines ship for GitLab CI, GitHub Actions, and Gitea Actions.
The Telegram bot edits its reply in real time with deploy and removal steps, then turns that message into the result.
Pool servers (PostgreSQL, MySQL, MSSQL, Redis, RabbitMQ, S3/RustFS, Garage, SeaweedFS, MongoDB, ClickHouse, OpenSearch, Kafka, NATS, Vault/OpenBao, Keycloak, authentik, Prometheus, InfluxDB), admin UIs, and plain containers come from presets plus overrides in qahost.yaml; only traefik is built in, and one operator account is created on every managed pool server for its admin UI.
A wildcard *.<domain> plus per-stand zone certificates, persisted under <data>/acme/<domain>.json, so recreated stands do not request them again.
Warnings, extensions, teardown, reconciliation, and GC keep the host clean.
systemd, user quotas, and container limits protect host capacity.
From commit to stand
Quick start
One installer, one directory, one YAML file. Docker with the Compose plugin is the only prerequisite; everything else is configuration.
*.<domain> for stand hosts. TLS certificates are issued per stand or zone and persisted on the host.The first run scaffolds the installation directory (~/.qahost, or /opt/qahost for root) with .env, config/qahost.yaml, and config/catalog/ taken from the examples, then stops so you can fill them in.
curl -fsSL https://qahost.dev/install.sh | sh
irm https://qahost.dev/install.ps1 | iex
.env and config/qahost.yaml.env holds secrets and host paths; qahost.yaml describes the instance itself — domain, limits, git sources, and the infrastructure pool. config/catalog/ describes your services.
~/.qahost
├── .env
└── config
├── qahost.yaml
└── catalog/Run the same installer again. It pulls ghcr.io/qahost/qahost:latest and starts qahost together with traefik; Docker restarts them, so the stack survives reboots. Running the installer later upgrades the stack from qahost.yaml.
Send /start to your Telegram bot to create and remove stands from chat, with live progress. For CI, take a token from the bot or issue one on the host:
docker exec qahost qahost token <user>
POST /api/stands {"target","branches","update":true} brings a stand up or updates it, DELETE /api/stands?target=&branch= takes it down.Running the installer again upgrades qahost: it pulls the latest image and regenerates the control stack from qahost.yaml. Uninstalling stops and removes qahost and traefik; add --purge to delete the data as well.
curl -fsSL https://qahost.dev/install.sh | sh -s -- uninstall
curl -fsSL https://qahost.dev/install.sh | sh -s -- uninstall --purge
& ([scriptblock]::Create((irm https://qahost.dev/install.ps1))) uninstall
& ([scriptblock]::Create((irm https://qahost.dev/install.ps1))) uninstall -Purge
Architecture
Docker Compose, SQLite, and explicit YAML. No Kubernetes cluster required—only traefik is built in, and certificates stay on the host.
Human-readable hosts
Short component aliases stay clear in reviews, tickets, and reports. Stand hosts are published through traefik with wildcard and per-stand TLS.
Own the environment
Start from the example config and catalog, run the installer, and let any CI bring stands up and down over the HTTP API — with the Telegram bot or without it.
qahost разворачивает изолированное окружение для целевого сервиса и полного графа его зависимостей, не затрагивая общий стенд develop. Зависимости, которые задача не меняет, используют общие инстансы на своей ветке по умолчанию — стенды остаются дешёвыми.
$ qahost plan app task=APP-123 разрешение графа... ✓ app цель ✓ identity зависимость ✓ notifications зависимость ✓ billing зависимость ✓ PostgreSQL / Redis / RabbitMQ / MSSQL $ qahost stand up app-123 готов app.app-123.environments.example.com
Одна задача. Один стенд.
Ссылки описывают сервисные зависимости и инфраструктурные ресурсы. qahost превращает граф в одноразовое наблюдаемое окружение.
Ссылка автоматически добавляет нужный сервис, владельца ресурса, миграции и данные.
Источники — обычный git: GitHub, GitLab, Bitbucket и Gitea одновременно — публичные, по токену или по ssh. Репозиторий указывается как github:org/app или через источник по умолчанию.
qahost ищет ветки с тем же ключом задачи в разных источниках и применяет предсказуемые fallback-правила.
Каталожный сервис с isolated: false работает один раз на своей ветке по умолчанию для всех стендов, которые его не меняют; ветка задачи на эту зависимость получает приватную копию, а isolated или svc:local отключает общий режим. Общие инстансы никогда не делят Docker-сеть — доступ к ним идёт через traefik.
Отдельные базы, роли, vhost, Redis DB и bucket работают поверх общего пула.
Сборка из шаблонов образов php, python, node, go, rust или java — либо из своего Dockerfile, CI-образа или готового образа.
CI/CD любой системы вызывает HTTP API с персональным bearer-токеном: POST /api/stands создаёт или обновляет стенд, DELETE /api/stands удаляет. Готовые manual-пайплайны up/down есть для GitLab CI, GitHub Actions и Gitea Actions.
Бот в Telegram редактирует своё сообщение прямо по ходу шагов развёртывания и удаления, а затем превращает его в результат.
Серверы пула (PostgreSQL, MySQL, MSSQL, Redis, RabbitMQ, S3/RustFS, Garage, SeaweedFS, MongoDB, ClickHouse, OpenSearch, Kafka, NATS, Vault/OpenBao, Keycloak, authentik, Prometheus, InfluxDB), админ-UI и обычные контейнеры описываются пресетами и override-ами в qahost.yaml; из кода встроен только traefik, а на каждом управляемом сервере пула создаётся один аккаунт оператора для его админ-UI.
Wildcard *.<domain> и сертификаты зон отдельных стендов сохраняются в <data>/acme/<domain>.json, поэтому пересозданные стенды не запрашивают их заново.
Предупреждения, продление, teardown, reconcile и GC поддерживают порядок.
systemd, пользовательские квоты и лимиты контейнеров защищают сервер.
От коммита до стенда
Быстрый старт
Один установщик, один каталог, один YAML-файл. Единственное требование — Docker с плагином Compose; всё остальное — конфигурация.
*.<domain> для хостов стендов. TLS-сертификаты выпускаются на стенд или зону и сохраняются на хосте.Первый запуск создаёт каталог установки (~/.qahost, а для root — /opt/qahost) с .env, config/qahost.yaml и config/catalog/ из примеров, а затем останавливается, чтобы вы их заполнили.
curl -fsSL https://qahost.dev/install.sh | sh
irm https://qahost.dev/install.ps1 | iex
.env и config/qahost.yamlВ .env лежат секреты и пути на хосте; qahost.yaml описывает сам инстанс — домен, лимиты, git-источники и пул инфраструктуры. config/catalog/ описывает ваши сервисы.
~/.qahost
├── .env
└── config
├── qahost.yaml
└── catalog/Выполните тот же установщик ещё раз: он скачает ghcr.io/qahost/qahost:latest и запустит qahost вместе с traefik; Docker перезапускает их, поэтому стек переживает перезагрузку. Повторный запуск позже обновляет стек по qahost.yaml.
Отправьте /start своему Telegram-боту, чтобы создавать и удалять стенды прямо из чата — с живым прогрессом. Для CI возьмите токен в боте или выпустите его на хосте:
docker exec qahost qahost token <user>
POST /api/stands {"target","branches","update":true} поднимает или обновляет стенд, DELETE /api/stands?target=&branch= удаляет его.Повторный запуск установщика обновляет qahost: он скачивает свежий образ и пересобирает управляющий стек по qahost.yaml. Удаление останавливает и убирает qahost и traefik; флаг --purge удаляет ещё и данные.
curl -fsSL https://qahost.dev/install.sh | sh -s -- uninstall
curl -fsSL https://qahost.dev/install.sh | sh -s -- uninstall --purge
& ([scriptblock]::Create((irm https://qahost.dev/install.ps1))) uninstall
& ([scriptblock]::Create((irm https://qahost.dev/install.ps1))) uninstall -Purge
Архитектура
Docker Compose, SQLite и явный YAML. Кластер Kubernetes не требуется — из кода встроен только traefik, а сертификаты живут на хосте.
Понятные адреса
Короткие имена удобно отправлять в review, задачи и отчёты. Хосты стендов публикуются через traefik с wildcard- и по-стендовыми TLS-сертификатами.
Своя инфраструктура
Начните с примера конфига и каталога, запустите установщик — и любой CI сможет поднимать и убирать стенды через HTTP API, с Telegram-ботом или без него.