Files
attune/docker/distributable/README.md
David Culbreth 938c271ff5
Some checks failed
CI / Rustfmt (push) Successful in 22s
CI / Cargo Audit & Deny (push) Successful in 36s
CI / Security Blocking Checks (push) Successful in 6s
CI / Web Blocking Checks (push) Successful in 53s
CI / Web Advisory Checks (push) Successful in 34s
Publish Images / Resolve Publish Metadata (push) Successful in 1s
CI / Security Advisory Checks (push) Successful in 38s
CI / Clippy (push) Successful in 2m7s
Publish Images / Publish Docker Dist Bundle (push) Failing after 19s
Publish Images / Publish web (amd64) (push) Successful in 49s
Publish Images / Publish web (arm64) (push) Successful in 3m31s
CI / Tests (push) Successful in 8m48s
Publish Images / Build Rust Bundles (amd64) (push) Successful in 12m42s
Publish Images / Build Rust Bundles (arm64) (push) Successful in 12m19s
Publish Images / Publish agent (amd64) (push) Successful in 26s
Publish Images / Publish api (amd64) (push) Successful in 38s
Publish Images / Publish notifier (amd64) (push) Successful in 42s
Publish Images / Publish executor (amd64) (push) Successful in 46s
Publish Images / Publish agent (arm64) (push) Successful in 56s
Publish Images / Publish api (arm64) (push) Successful in 1m52s
Publish Images / Publish executor (arm64) (push) Successful in 2m2s
Publish Images / Publish notifier (arm64) (push) Successful in 2m3s
Publish Images / Publish manifest attune/agent (push) Successful in 6s
Publish Images / Publish manifest attune/api (push) Successful in 11s
Publish Images / Publish manifest attune/executor (push) Successful in 10s
Publish Images / Publish manifest attune/notifier (push) Successful in 8s
Publish Images / Publish manifest attune/web (push) Successful in 8s
distributable, please
2026-03-26 12:26:23 -05:00

65 lines
1.6 KiB
Markdown

# Attune Docker Dist Bundle
This directory is a distributable Docker bundle built from the main workspace compose setup.
It is designed to run Attune without building the Rust services locally:
- `api`, `executor`, `notifier`, `agent`, and `web` pull published images
- database bootstrap, user bootstrap, and pack loading run from local scripts shipped in this bundle
- workers and sensor still use stock runtime images plus the published injected agent binaries
## Registry Defaults
The compose file defaults to:
- registry: `git.rdrx.app/attune-system`
- tag: `latest`
Override them with env vars:
```bash
export ATTUNE_IMAGE_REGISTRY=git.rdrx.app/attune-system
export ATTUNE_IMAGE_TAG=latest
```
If the registry requires auth:
```bash
docker login git.rdrx.app
```
## Run
From this directory:
```bash
docker compose up -d
```
Or with an explicit tag:
```bash
ATTUNE_IMAGE_TAG=sha-xxxxxxxxxxxx docker compose up -d
```
## Rebuild Bundle
Refresh this bundle and create a tarball from the workspace root:
```bash
bash scripts/package-docker-dist.sh
```
## Included Assets
- `docker-compose.yaml` - published-image compose stack
- `config.docker.yaml` - container config mounted into services
- `docker/` - init scripts and SQL helpers
- `migrations/` - schema migrations for the bootstrap job
- `packs/core/` - builtin core pack content
- `scripts/load_core_pack.py` - pack loader used by `init-packs`
## Current Limitation
The publish workflow does not currently publish dedicated worker or sensor runtime images. This bundle therefore keeps using stock runtime images with the published `attune/agent` image for injection.