chore: compose polish for Coolify + complete .env.example

This commit is contained in:
Leopold
2026-07-05 23:58:26 +02:00
parent 8aa2e6792b
commit 4847d3eb05
3 changed files with 37 additions and 18 deletions
+10
View File
@@ -91,3 +91,13 @@ python server.py
- agent-platform: 256 MB RAM, 0.5 CPU
- mcp-tools: 128 MB RAM, 0.25 CPU
- SQLite: 5-10 MB
## Deploy (Coolify)
1. In Coolify: **Projects → New Project** → name it (e.g. `agent-platform`).
2. Inside the project: **Resources → New → Docker Compose**.
3. **Repository URL**: `https://forgejo.media-on.de/Leopoldadmin/agent-platform.git`, **Branch**: `main`.
4. **Domain**: bind a hostname to the `agent-platform` service (Traefik routes via the `expose: 8000` label).
5. **Environment Variables**: set `AUTH_TOKEN` (≥32 chars, NOT `change-me-in-production`) and `LLM_API_KEY`; other vars can keep their `.env.example` defaults.
6. Click **Deploy** — Coolify builds the two images, creates the `agent-data` volume, and brings up the stack.
7. **Health check**: `curl https://<your-domain>/health` returns `{"status":"ok"}` once `mcp-tools` is healthy and `agent-platform` is up.