diff --git a/README.md b/README.md index 1f076f5..5dc2b00 100644 --- a/README.md +++ b/README.md @@ -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 .#` → `nix copy ssh://` → `nix-env --profile` → `systemctl restart`. +`nix build .#` → **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 diff --git a/docs/add-new-app.md b/docs/add-new-app.md index f202559..080e815 100644 --- a/docs/add-new-app.md +++ b/docs/add-new-app.md @@ -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**. diff --git a/infra/caddy/Caddyfile.prod b/infra/caddy/Caddyfile.prod index a849552..fd4f9cb 100644 --- a/infra/caddy/Caddyfile.prod +++ b/infra/caddy/Caddyfile.prod @@ -59,10 +59,6 @@ ai.asepharyana.my.id, ai.asepharyana.web.id { import proxy 4010 } -tools.asepharyana.my.id, tools.asepharyana.web.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