You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
3.1 KiB
3.1 KiB
Server Inventory
Owner: host/IP, role, aplikasi runtime, database, port, env yang dipakai project ini.
Indeks lintas project: monorepo root Workspace-Context.md (dan SSH-HOSTS.md jika ada) — link ke file ini, jangan duplikasi detail penuh.
Cold start: cukup tahu path file ini dari AGENTS.md / context-index.md.
Ringkasan
| Field | Value |
|---|---|
| Project | {path/relatif monorepo} |
| Last updated | {YYYY-MM-DD} |
| Credential location | {vault / .env lokal — lihat .env.example} — bukan secret di sini |
Host / Server
| Host / IP | Env | Role | OS | Akses | Catatan |
|---|---|---|---|---|---|
| {10.x.x.x atau hostname} | dev/staging/prod | {app / db / reverse-proxy / worker} | {Linux/Windows} | {SSH user@host / RDP} |
Satu baris per host yang benar-benar dipakai project ini.
Aplikasi & Runtime per Host
| Host / IP | Aplikasi | Jenis | Port | Path / Container | Catatan |
|---|---|---|---|---|---|
| {ip} | {nama service} | Docker / nginx / IIS / Apache / systemd / Windows Service / other | {port} | {compose service / site name / unit} | |
| {ip} | {nama} | SQL Server / PostgreSQL / MySQL / Redis / other | {port} | {instance / db name} |
Jenis yang sering dipakai (isi yang relevan saja):
- Web / proxy: nginx, IIS, Apache, Caddy, Traefik
- Runtime: Docker, Docker Compose, Kubernetes, systemd, Windows Service
- App: FastAPI, Node, .NET, PHP, Java, dll.
- Data: SQL Server, PostgreSQL, MySQL, MariaDB, Redis, MongoDB
- Lain: MQTT, RabbitMQ, MinIO, dll.
Database
| Host / IP | Engine | Instance / Port | Database | Dipakai untuk | Credential location |
|---|---|---|---|---|---|
| SQL Server / PostgreSQL / ... | {env var / vault} |
Endpoint & URL
Nilai runtime: variabel di .env.example (root project). Jangan hardcode di kode. Migrasi domain: guide/migration.md
| Env | URL / Host:Port | Env var | Catatan |
|---|---|---|---|
| dev | API_BASE_URL / APP_URL | ||
| staging | |||
| prod |
Mapping ke path project (monorepo)
| Komponen di server | Path di monorepo | Keterangan |
|---|---|---|
| {service / container / site} | {path/relatif}/ |
Kode / config utama |
| {nginx config / compose} | {path}/... |
Jika config ikut di repo |
Dependency server ke project lain
| Host / Service | Project monorepo | Relasi |
|---|---|---|
{path/} |
API / DB / shared network |
Catatan operasional
- {firewall, VPN, ZeroTier, port expose, backup, dll. — tanpa secret}
Jangan: password, API key, private key, connection string lengkap ber-credential. Ganti dengan: lokasi credential + nama variabel env.