chore(infra): remove tools app — Caddy route, README, add-new-app docs
Deploy Infra Config / deploy-infra (push) Canceled after 0s
Deploy Infra Config / deploy-infra (push) Canceled after 0s
Project tools dihapus (2026-08-28): GitHub repo + local source + VPS deploy (3 systemd units + Nix profiles) sudah dihapus. Caddy route tools.asepharyana.my.id removed; README + docs updated. ADR 0003 dibiarkan sebagai catatan historis rename.
This commit is contained in:
@@ -12,11 +12,10 @@ Reverse-proxy & infrastructure config for [orangevps](https://asepharyana.my.id)
|
||||
|------|-----------|-------------|
|
||||
| [`asepharyana/hub`](https://github.com/asepharyana/hub) | Portfolio SPA (Next.js, port 4003, dashboard) | `hub` |
|
||||
| [`asepharyana/scraper`](https://github.com/asepharyana/scraper) | Rust/Axum scraper API (port 4091) | `scraper` |
|
||||
| [`asepharyana/tools`](https://github.com/asepharyana/tools) | Tools: Rust gateway/workers + Next.js frontend (3500/3501) | `tools-gateway`, `tools-workers`, `tools-frontend` |
|
||||
| [`asepharyana/llm-api`](https://github.com/asepharyana/llm-api) | Rust LLM API (llama.cpp, port 8080) | `llm-api` |
|
||||
|
||||
Tiap repo punya `flake.nix` + `.github/workflows/deploy.yml` sendiri:
|
||||
`nix build .#<pkg>` → `nix copy ssh://` → `nix-env --profile` → `systemctl restart`.
|
||||
`nix build .#<pkg>` → **push ke Attic binary cache** (`attic.asepharyana.my.id/asepharyana`) → VPS substitute via `nix-store --realise` → `nix-env --profile` → `systemctl restart`.
|
||||
Push ke `main` (atau `workflow_dispatch`) langsung deploy; tidak ada lagi pointer submodule.
|
||||
|
||||
## Infra di Repo Ini
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ Panduan untuk menambahkan service baru di ekosistem `asepharyana/infra` (2026-08
|
||||
|
||||
## Prinsip
|
||||
|
||||
- **Aplikasi hidup di repo sendiri** (`hub`, `scraper`, `tools`, `llm-api`) dengan
|
||||
- **Aplikasi hidup di repo sendiri** (`hub`, `scraper`, `llm-api`) dengan
|
||||
`flake.nix` + `.github/workflows/deploy.yml` mandiri. Repo infra TIDAK berisi kode app.
|
||||
- Repo infra (`asepharyana/infra`) hanya mengatur **reverse proxy & config VPS**.
|
||||
|
||||
|
||||
@@ -59,10 +59,6 @@ ai.asepharyana.my.id, ai.asepharyana.web.id {
|
||||
}
|
||||
|
||||
9router.asepharyana.my.id {
|
||||
import proxy 4007
|
||||
}
|
||||
|
||||
9router.asepharyana.my.id {
|
||||
# LLM streaming: 9router combo models punya TTFT sampe 30-40s (deepseek,
|
||||
# fallback chain). Default (proxy) response_header_timeout 30s / read 60s
|
||||
# bikin false-positive 504 walau 9router masih ngolah. Longgarkan khusus
|
||||
|
||||
Reference in New Issue
Block a user