- assets/header.svg: animated SVG header (twinkling stars, orbiting service dots, Atlas A logo with glow, float/pulse animations, corner accents) - README.md: animated banner, full 39-app service catalog, Mermaid architecture, AI stack table, tech stack, quick-deploy, repo structure, security model - ARCHITECTURE.md: one-box philosophy, 5-tier service layers, data flow diagram, Caddy SSO pattern, AI mesh topology, Docker Compose topology - SERVICES.md: all 55 containers + 20 systemd services documented - CHANGELOG.md: full build history from v0.5 to v2.0 - assets/logo.svg: Atlas A logo with gradient - deploy/install.sh: one-command installer (Docker + Caddy + Tailscale + stacks) - deploy/compose/atlas-core.yml: Authentik + Nextcloud + Stalwart + Forgejo + Vaultwarden - deploy/caddy/Caddyfile.template: Authentik SSO pattern, sanitized - deploy/README.md: full deployment guide - server/: sanitized atlas_brain.py, cockpit_shim.py, intelligence.py, meridian.py, atlas_router_api.py, cli-atlas.py (all secrets stripped, env var patterns) - server/systemd/: 6 atlas-* service unit files - server/README.md: deployment and configuration guide Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
40 lines
1.4 KiB
Markdown
40 lines
1.4 KiB
Markdown
# Server Scripts
|
|
|
|
Sanitized production Python scripts that power Atlas OS on atlas-01 (Hetzner CPX32).
|
|
|
|
**All secrets removed.** Configure via environment variables or `/opt/atlas/secrets/atlas.env`.
|
|
|
|
## Scripts
|
|
|
|
| Script | Purpose |
|
|
|--------|---------|
|
|
| `atlas_brain.py` | Signal collector: mail, CRM, bank -> atlas-state.json -> AI brief |
|
|
| `cockpit_shim.py` | HTTP adapter serving OS cockpit feeds from on-disk JSON |
|
|
| `intelligence.py` | Intelligence / signal scoring layer |
|
|
| `meridian.py` | Autonomous decision engine and battle responder |
|
|
| `atlas_router_api.py` | Local model router at :8888 (OpenAI-compat, routes to Ollama models) |
|
|
| `cli-atlas.py` | Atlas CLI — interact with the brain and services from the terminal |
|
|
|
|
## Configuration
|
|
|
|
Copy `/opt/atlas/secrets/atlas.env.example` to `/opt/atlas/secrets/atlas.env` and fill in your values.
|
|
Then enable and start the systemd services in `server/systemd/`.
|
|
|
|
## Deployment
|
|
|
|
```bash
|
|
cp server/*.py /opt/atlas/
|
|
cp server/systemd/*.service /etc/systemd/system/
|
|
systemctl daemon-reload
|
|
systemctl enable --now atlas-brain atlas-cockpit atlas-loop
|
|
```
|
|
|
|
## Environment Variables
|
|
|
|
| Variable | Description |
|
|
|----------|-------------|
|
|
| `ATLAS_BASIC_PASS` | Internal API basic auth password |
|
|
| `ATLAS_ANTHROPIC_KEY` | Anthropic API key (Claude) |
|
|
| `GROQ_API_KEY` | Groq API key (free, fast 70B) |
|
|
| `CEREBRAS_API_KEY` | Cerebras API key (free tier) |
|
|
| `OPENROUTER_API_KEY` | OpenRouter (Gemini, multi-model) |
|