diff --git a/CLAUDE.md b/CLAUDE.md index c2afe46..142ddf6 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -47,7 +47,7 @@ For detailed architecture docs, see the directory-scoped CLAUDE.md files (loaded - **Provisioning flow, env vars, lifecycle** → `src/.../provisioning/CLAUDE.md` - **Auth, scopes, JWT, OIDC** → `src/.../config/CLAUDE.md` - **Docker, routing, networks, bootstrap, deployment pipeline** → `docker/CLAUDE.md` -- **Installer, deployment modes, compose templates** → `installer/CLAUDE.md` +- **Installer, deployment modes, compose templates** → `installer/CLAUDE.md` (git submodule: `cameleer-saas-installer`) - **Frontend, sign-in UI** → `ui/CLAUDE.md` ## Database Migrations @@ -66,7 +66,8 @@ PostgreSQL (Flyway): `src/main/resources/db/migration/` - `cameleer-server` / `cameleer-server-ui` — provisioned per-tenant (not in compose, created by `DockerTenantProvisioner`) - `cameleer-runtime-base` — base image for deployed apps (agent JAR + `cameleer-log-appender.jar` + JRE). CI downloads latest agent and log appender SNAPSHOTs from Gitea Maven registry. The Dockerfile ENTRYPOINT is overridden by `DockerRuntimeOrchestrator` at container creation; agent config uses `CAMELEER_AGENT_*` env vars set by `DeploymentExecutor`. - Docker builds: `--no-cache`, `--provenance=false` for Gitea compatibility -- `docker-compose.dev.yml` — exposes ports for direct access, sets `SPRING_PROFILES_ACTIVE: dev`. Volume-mounts `./ui/dist` into the container so local UI builds are served without rebuilding the Docker image (`SPRING_WEB_RESOURCES_STATIC_LOCATIONS` overrides classpath). Adds Docker socket mount for tenant provisioning. +- `docker-compose.yml` (root) — thin dev overlay (ports, volume mounts, `SPRING_PROFILES_ACTIVE: dev`). Chained on top of production templates from the installer submodule via `COMPOSE_FILE` in `.env`. +- Installer is a **git submodule** at `installer/` pointing to `cameleer/cameleer-saas-installer` (public repo). Compose templates live there — single source of truth, no duplication. Run `git submodule update --remote installer` to pull template updates. - Design system: import from `@cameleer/design-system` (Gitea npm registry) ## Disabled Skills @@ -76,7 +77,7 @@ PostgreSQL (Flyway): `src/main/resources/db/migration/` # GitNexus — Code Intelligence -This project is indexed by GitNexus as **cameleer-saas** (2838 symbols, 6037 relationships, 239 execution flows). Use the GitNexus MCP tools to understand code, assess impact, and navigate safely. +This project is indexed by GitNexus as **cameleer-saas** (2881 symbols, 6138 relationships, 243 execution flows). Use the GitNexus MCP tools to understand code, assess impact, and navigate safely. > If any GitNexus tool warns the index is stale, run `npx gitnexus analyze` in terminal first.