mirror of
https://github.com/jhd3197/ServerKit.git
synced 2026-12-05 22:51:51 +09:00
Deploying checked three things — the name is free, the server row exists, the directory isn't taken. Nothing asked whether the box could carry the thing, so a 2 GB app landed on a 1 GB VPS at full speed and the first sign of trouble was the OOM killer. Every piece was already here and unconnected: templates describe what they cost (`requirements: memory / storage`), servers report what they have (Server.total_memory / total_disk) and what they are using (the newest ServerMetrics sample). This is the join, answering in the shape a person asks it — does it fit, will it be tight, or can't we tell? Advisory on purpose. It reports; it never refuses. An estimate is an estimate, real usage depends on configuration and traffic, so the operator keeps the final say and "tight" is a sentence to read rather than a wall to argue with. A full server still returns valid:true, and a test asserts that so this cannot quietly become a gate. Three judgements worth stating: - The reserve is a floor-and-fraction pair (10% of the box, at least 256 MB RAM / 2 GB disk). A bare percentage is wrong at both ends: 10% of 1 GB is nothing, 10% of 64 GB is more than most apps need. - `unknown` outranks `ok`. No recent sample, or a template that declares nothing, says so — a confident wrong answer is worse than no answer. - Free memory comes from psutil's `available`, not `free`: cache and buffers are reclaimable, and counting them as used calls every healthy Linux box full. Catalog coverage goes from 52/106 to 106/106. The 54 estimates are each app's typical idle-to-light-use footprint, taken from the project's own documented minimum where it publishes one and rounded to the values the existing 52 already use — sonarqube 4 GB because that is its documented heap floor, immich 4 GB for the ML models, prometheus 20 GB because retention dominates, traefik 256 MB. Surfaced two ways: a capacity block alongside (never inside) `errors` on validate-install, and a read-only GET the deploy drawer can poll while the operator is still choosing a target, so the answer updates as they switch servers instead of waiting for a submit. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
56 lines
1.8 KiB
YAML
56 lines
1.8 KiB
YAML
id: agentsite
|
|
name: AgentSite
|
|
version: "1.0"
|
|
kind: repo
|
|
description: AI-powered website builder with multi-agent orchestration, deployed straight from its Git repository.
|
|
icon: data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48cmVjdCB4PSIzIiB5PSIxMSIgd2lkdGg9IjE4IiBoZWlnaHQ9IjEwIiByeD0iMiIvPjxjaXJjbGUgY3g9IjEyIiBjeT0iNSIgcj0iMiIvPjxwYXRoIGQ9Ik0xMiA3djQiLz48cGF0aCBkPSJNOCAxNmguMDEiLz48cGF0aCBkPSJNMTYgMTZoLjAxIi8+PC9zdmc+
|
|
categories:
|
|
- ai
|
|
- website
|
|
- deployment
|
|
website: https://github.com/jhd3197/AgentSite
|
|
documentation: https://github.com/jhd3197/AgentSite#readme
|
|
|
|
# Repo templates are not one-click compose stacks — they carry a `repo` block and
|
|
# are deployed through the New Service wizard, which inspects the live repository
|
|
# for manifests. The hints below are only used as a labeled fallback when the
|
|
# public repo cannot be inspected.
|
|
repo:
|
|
url: https://github.com/jhd3197/AgentSite.git
|
|
branch: main
|
|
service_name: agentsite
|
|
app_type: docker
|
|
build_method: dockerfile
|
|
port: 6391
|
|
dockerfile_path: Dockerfile
|
|
healthcheck_path: /api/health
|
|
strategy: docker_compose
|
|
manifest_files:
|
|
- docker-compose.yml
|
|
- render.yaml
|
|
- railway.json
|
|
- app.json
|
|
env:
|
|
- key: OPENAI_API_KEY
|
|
required: true
|
|
secret: true
|
|
- key: CLAUDE_API_KEY
|
|
required: true
|
|
secret: true
|
|
- key: GOOGLE_API_KEY
|
|
required: true
|
|
secret: true
|
|
- key: GROQ_API_KEY
|
|
required: true
|
|
secret: true
|
|
- key: GROK_API_KEY
|
|
required: true
|
|
secret: true
|
|
- key: OPENROUTER_API_KEY
|
|
required: true
|
|
secret: true
|
|
|
|
requirements:
|
|
memory: 1GB
|
|
storage: 4GB
|