@connectai/selfhost
Advanced tools
@@ -99,3 +99,3 @@ # ConnectAI self-host stack — IMAGE-BASED variant (no source clone). | ||
| # via the loop-svc command override below). | ||
| image: ghcr.io/connectai-os/connectai-app:${CONNECTAI_IMAGE_TAG:-v0.1.7} | ||
| image: ghcr.io/connectai-os/connectai-app:${CONNECTAI_IMAGE_TAG:-v0.1.11} | ||
| restart: unless-stopped | ||
@@ -140,3 +140,3 @@ depends_on: | ||
| loop-svc: | ||
| image: ghcr.io/connectai-os/connectai-app:${CONNECTAI_IMAGE_TAG:-v0.1.7} | ||
| image: ghcr.io/connectai-os/connectai-app:${CONNECTAI_IMAGE_TAG:-v0.1.11} | ||
| command: ["/app/app-entrypoint.sh", "worker"] | ||
@@ -176,3 +176,3 @@ restart: unless-stopped | ||
| console: | ||
| image: ghcr.io/connectai-os/connectai-console:${CONNECTAI_IMAGE_TAG:-v0.1.7} | ||
| image: ghcr.io/connectai-os/connectai-console:${CONNECTAI_IMAGE_TAG:-v0.1.11} | ||
| restart: unless-stopped | ||
@@ -179,0 +179,0 @@ depends_on: |
+1
-1
@@ -14,3 +14,3 @@ // Shared constants for the @connectai/selfhost CLI. | ||
| // still override it with --tag / CONNECTAI_IMAGE_TAG. | ||
| export const DEFAULT_IMAGE_TAG = 'v0.1.7' | ||
| export const DEFAULT_IMAGE_TAG = 'v0.1.11' | ||
@@ -17,0 +17,0 @@ // CON-94 right-sized local defaults: a small chat model + the 1024-dim embedder. |
+1
-1
| { | ||
| "name": "@connectai/selfhost", | ||
| "version": "0.1.10", | ||
| "version": "0.1.11", | ||
| "description": "One-command self-host installer for ConnectAI. Takes a clean machine (only Docker + Node) to a running, health-checked company-brain in one command, with no source clone and no local image build: `npx @connectai/selfhost run`. Bundles the image-based docker-compose stack + boot scripts, generates a strong .env (CSPRNG ENCRYPTION_SECRET + POSTGRES_PASSWORD), and boots the stack.", | ||
@@ -5,0 +5,0 @@ "type": "module", |
+3
-3
@@ -40,3 +40,3 @@ # @connectai/selfhost | ||
| 3. **Generate `.env`**: copies the example, then fills the secrets with a CSPRNG (`crypto.randomBytes`): `INFISICAL_*`, **`ENCRYPTION_SECRET`** (32 bytes / 64 hex), and a strong **`POSTGRES_PASSWORD`** (with `DATABASE_URL` updated to match). Written `chmod 600`. **Idempotent**: it never overwrites a value you already set, and a second run is a no-op. Secrets are local-only: never logged, never transmitted. | ||
| 4. **Boot**: delegates to the bundled `up.sh`, which `docker compose pull`s the prebuilt images, brings up Infisical, provisions the vault identity, brings up the full stack, and waits for the API `/health` + the console. By default the installer runs the first-party GHCR images at the pinned, pullable tag **`v0.1.7`**: the merged backend image `ghcr.io/connectai-os/connectai-app:v0.1.7` (used by both api + worker roles) plus `ghcr.io/connectai-os/connectai-console:v0.1.7`. You can override the release with `--tag` / `CONNECTAI_IMAGE_TAG`. It also pulls the pinned support images from the compose bundle: `infisical/infisical:v0.159.28`, `pgvector/pgvector:pg16`, `postgres:16-alpine`, and `redis:7-alpine`. | ||
| 4. **Boot**: delegates to the bundled `up.sh`, which `docker compose pull`s the prebuilt images, brings up Infisical, provisions the vault identity, brings up the full stack, and waits for the API `/health` + the console. By default the installer runs the first-party GHCR images at the pinned, pullable tag **`v0.1.11`**: the merged backend image `ghcr.io/connectai-os/connectai-app:v0.1.11` (used by both api + worker roles) plus `ghcr.io/connectai-os/connectai-console:v0.1.11`. You can override the release with `--tag` / `CONNECTAI_IMAGE_TAG`. It also pulls the pinned support images from the compose bundle: `infisical/infisical:v0.159.28`, `pgvector/pgvector:pg16`, `postgres:16-alpine`, and `redis:7-alpine`. | ||
| 5. **Print** the console URL, the setup-token command, and the next step. | ||
@@ -69,3 +69,3 @@ | ||
| | `--dir <path>` | working directory (default `~/.connectai-selfhost`) | | ||
| | `--tag <tag>` | GHCR image tag to run (default: `v0.1.7`; also `CONNECTAI_IMAGE_TAG`) | | ||
| | `--tag <tag>` | GHCR image tag to run (default: `v0.1.11`; also `CONNECTAI_IMAGE_TAG`) | | ||
| | `--yes`, `-y` | non-interactive (already the default; accepted for CI) | | ||
@@ -86,3 +86,3 @@ | ||
| - **localhost is the v1 target.** The packaged installer is the fastest path for a same-box eval. The prebuilt console image bakes its API base URL at publish time to `http://localhost:4000`, which is correct for localhost. Serving the prebuilt console for a remote origin needs extra setup; use [`SELF_HOSTING.md`](../../SELF_HOSTING.md) before trying to expose this packaged path on a real domain. | ||
| - The packaged installer defaults to the verified `v0.1.7` release tag. If you override it, keep the same tag across your operator docs and rollout notes. | ||
| - The packaged installer defaults to the verified `v0.1.11` release tag. If you override it, keep the same tag across your operator docs and rollout notes. | ||
| - The first run downloads several GB of images and can take a few minutes; re-runs are fast and idempotent. | ||
@@ -89,0 +89,0 @@ - This is a thin front door over the same hardened `up.sh` boot engine used by a source checkout; it does not re-implement orchestration. |
83296
0.01%