chore: compose polish for Coolify + complete .env.example
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user