# Memulai

> [!WARNING]
>
> Versi bahasa Inggris halaman ini lebih baru. [Baca versi bahasa Inggris](<https://geiserx.github.io/CashPilot/getting-started/>).

## Prasyarat

- **Docker** dengan **plugin Compose v2, versi 2.23.1 atau lebih baru**. Periksa dengan `docker compose version`. Versi yang lebih lama tidak dapat membaca konfigurasi inline di file compose. Docker Desktop sudah menyertakan plugin ini. Pada Docker Engine biasa di Linux, pasang plugin dari repositori paket Docker ([https://docs.docker.com/compose/install/linux/](<https://docs.docker.com/compose/install/linux/>)). Di macOS dengan Colima, pasang dengan Homebrew lalu tautkan sebagai plugin Docker:

  ```
  brew install docker-compose
  mkdir -p ~/.docker/cli-plugins
  ln -sfn "$(brew --prefix)/opt/docker-compose/bin/docker-compose" ~/.docker/cli-plugins/docker-compose
  ```
- Host Linux, macOS, atau Windows (amd64 atau arm64)
- Minimal 1 GB RAM yang tersedia untuk CashPilot dan layanan yang dikelolanya
- **Satu CashPilot per host Docker.** Lihat peringatan di bawah.

> [!WARNING]
>
> **Satu CashPilot per host Docker**
>
> Jangan jalankan dua instalasi CashPilot di satu host Docker. File compose memakai nama kontainer yang tetap (`cashpilot-ui`, `cashpilot-worker`, `cashpilot-socket-proxy`), jadi salinan kedua dari file itu gagal karena nama bentrok. Jika Anda mengganti namanya agar lolos, kedua instalasi tetap berbagi host. Setiap worker mengelola semua kontainer yang membawa label CashPilot, instalasi mana pun yang membuatnya. Jadi setiap dasbor menampilkan, menghentikan, dan mengganti aplikasi penghasil milik instalasi lainnya. Keduanya juga berbagi jaringan `cashpilot-isolated`, nama aplikasi penghasil (`cashpilot-<service>`), port host, dan volume seperti `mysterium-data`. Untuk instalasi kedua, gunakan host atau VM lain. Untuk menjalankan aplikasi penghasil di lebih banyak server, tambahkan worker ke satu dasbor saja ([Armada](<https://geiserx.github.io/CashPilot/id/fleet/index.md>)).

## Mulai cepat

### 1\. Unduh file compose dan jalankan

```
curl -fsSLO https://raw.githubusercontent.com/GeiserX/CashPilot/main/docker-compose.yml
docker compose up -d
```

Perintah ini menjalankan tiga kontainer yang terus berjalan. Sebelum itu, kontainer sekali jalan `cashpilot-migrate` berjalan dan keluar dengan kode 0 pada setiap `up`, sehingga `docker compose ps -a` menampilkannya sebagai `Exited (0)`. Itu normal.

| Kontainer | Port | Fungsi |
| --- | --- | --- |
| **cashpilot-migrate** | tidak ada | Berjalan sekali lalu keluar. Kontainer ini memindahkan data yang dibuat rilis lama ke volume yang diterima socket proxy, dan pada instalasi baru tidak menemukan apa pun untuk dikerjakan |
| **cashpilot-ui** | 8080 | Dasbor web, pengumpulan penghasilan, katalog layanan |
| **cashpilot-worker** | 8081 | Agen Docker yang menerapkan dan memantau kontainer layanan |
| **cashpilot-socket-proxy** | tidak ada | Memegang socket Docker dan memberi worker salinan yang sudah difilter ([Pengaturan keamanan bawaan](<https://geiserx.github.io/CashPilot/id/security-defaults/index.md>)) |

### 2\. Buka dasbor

Buka [http://localhost:8080](<http://localhost:8080>) di browser Anda. Karena belum ada akun, Anda akan masuk ke halaman sambutan, yang membuat akun pemilik.

> [!TIP]
>
> **Port 8080 sudah dipakai?**
>
> Pilih port host lain di file `.env` di samping `docker-compose.yml`, alih-alih mengedit file compose:
>
> ```
> printf '\nCASHPILOT_UI_PORT=8088\n' >> .env
> docker compose up -d
> ```
>
> Lalu buka http://localhost:8088. Simpan nilai itu di `.env`, karena pembaruan dari dalam aplikasi membaca file tersebut, bukan shell Anda. (`printf` diawali baris baru agar baris itu tidak pernah menyambung ke baris terakhir dari `.env` yang sudah ada.)
>
> Variabel ini memerlukan `docker-compose.yml` yang baris `ports:`-nya berbunyi `${CASHPILOT_UI_PORT:-8080}:8080`. File dari v1.61 dan yang lebih lama menulis langsung `8080:8080` dan mengabaikannya. Unduh file terbaru, atau pertahankan pemetaan port hasil edit Anda sendiri: pembaruan dari dalam aplikasi juga menerimanya.

> [!WARNING]
>
> **Token penyiapan untuk proses pertama wajib ada**
>
> Saat pertama kali dijalankan, CashPilot membuat token penyiapan sekali pakai dan mencetaknya ke log kontainer **cashpilot-ui**:
>
> ```
> docker compose logs cashpilot-ui
> ```
>
> Cari baris seperti:
>
> ```
> FIRST-RUN SETUP: no account exists yet. Open /register and enter this
> one-time setup token to create the owner account: <token>
> ```
>
> Salin token itu ke kolom **Setup token** (Token penyiapan) pada langkah **Owner account** (Akun pemilik) di halaman sambutan, bersama nama pengguna dan kata sandi, untuk membuat akun pertama (pemilik). Token ini hanya pernah ditampilkan di log, tidak pernah di URL, dan dibuang selamanya begitu akun pemilik ada.

### 3\. Jelajahi katalog layanan

Halaman **Catalog** (Katalog) menampilkan setiap layanan beserta platformnya, perkiraan bulanan, dan apa yang dibutuhkannya (IP residensial, GPU). Filter menurut kategori (Bandwidth, DePIN, Penyimpanan, Komputasi, Penambangan) atau cari berdasarkan nama. **Add** (Tambah) membuka wizard penyiapan untuk layanan itu, **Details** (Detail) menampilkan deskripsi, pembayaran, dan risiko penerapannya, dan layanan yang tidak berjalan di Docker mendapat tautan **Visit** (Kunjungi) sebagai gantinya.

Dua jenis layanan perlu diperiksa lebih teliti terlebih dahulu: layanan yang baru membayar setelah Anda mengunci stake token, seperti Anyone Protocol, Sia, dan Flux, serta relay yang memublikasikan IP Anda, yang bisa menurunkan bayaran dari aplikasi bandwidth residensial. Lihat [Periksa dua hal sebelum Anda menerapkan](<https://geiserx.github.io/CashPilot/id/guides/index.md>).

### 4\. Tambahkan layanan dengan wizard

Setelah akun pemilik ada, **Add services** (Tambah layanan) membuka wizard penyiapan; setelah itu, tombol **\+ Add service** (+ Tambah layanan) di bilah atas membukanya lagi. Pilih kategori, lalu layanan. Untuk setiap layanan, wizard menampilkan tautan **Sign Up** (Daftar), hanya meminta kredensial yang dibutuhkan layanan itu (email dan kata sandi, token API, dan sebagainya), dan membiarkan Anda memilih worker yang akan menjalankannya. Klik **Deploy** (Terapkan) dan CashPilot menarik image, membuat kontainer, dan mulai mengawasinya.

### 5\. Pantau di dasbor

Dasbor menampilkan setiap layanan yang diterapkan beserta status dan saldonya, dan halaman **Fleet** (Armada) menampilkan setiap worker.

## Cara kerja

```
graph LR
    A[User] -->|Browse & Configure| B[CashPilot UI<br>Port 8080]
    B -->|Deploy Commands| C[CashPilot Worker<br>Port 8081]
    C -->|Docker API| D[Service Containers]
    D -->|Health & Status| C
    C -->|Heartbeat| B
    B -->|Collect Earnings| E[Service APIs]
    E -->|Balance Data| B
```

1. **Anda mengonfigurasi** layanan melalui UI web -- pilih layanan, masukkan kredensial, klik terapkan.
2. **UI mengirim** spesifikasi kontainer (image, variabel lingkungan, volume) ke worker melalui REST API.
3. **Worker membuat** kontainer Docker dan mulai memantau kesehatannya.
4. **Worker melaporkan** status kontainer kembali ke UI setiap 60 detik melalui sinyal aktif.
5. **UI mengumpulkan** penghasilan dari API layanan sesuai jadwal yang dapat dikonfigurasi (bawaan: setiap jam).
6. **Dasbor** menampilkan penghasilan gabungan, rincian per layanan, dan kesehatan kontainer.

## Konfigurasi

### Variabel lingkungan UI

| Variabel | Bawaan | Deskripsi |
| --- | --- | --- |
| `TZ` | `UTC` | Zona waktu untuk penjadwalan dan tampilan |
| `CASHPILOT_SECRET_KEY` | *(dibuat otomatis)* | Kunci penanda tangan untuk sesi login. Disimpan di `/data/.secret_key`. **Tidak mengenkripsi kredensial** |
| `CASHPILOT_ENCRYPTION_KEY` | *(dibuat otomatis)* | Kunci Fernet yang mengenkripsi kredensial tersimpan saat diam. Disimpan di `/data/.fernet_key`. Hanya dipakai jika file itu tidak ada, dan tidak pernah ditulis ke `/data`. `CASHPILOT_ENCRYPTION_KEY_FILE` (sebuah path) mengalahkan keduanya: lihat [Kunci enkripsi di luar folder data](<https://geiserx.github.io/CashPilot/id/encryption-key/index.md>) |
| `CASHPILOT_API_KEY` | *(dari `/fleet`)* | Kunci pendaftaran bersama untuk worker. Setiap worker mendapat kuncinya sendiri saat mendaftar; lihat [Armada](<https://geiserx.github.io/CashPilot/id/fleet/index.md>) |
| `CASHPILOT_COLLECT_INTERVAL` | `60` | Menit di antara siklus pengumpulan penghasilan |
| `CASHPILOT_UI_PORT` | `8080` | Port host tempat UI dipublikasikan. Setel di `.env` jika 8080 sudah terpakai |
| `CASHPILOT_BIND_ADDR` | `127.0.0.1` | Antarmuka host tempat port UI dipublikasikan. **Loopback secara bawaan**: dasbor dapat memberi perintah ke worker yang memegang socket Docker, jadi secara bawaan dasbor tidak terbuka ke jaringan Anda. Setel IP tertentu (mis. alamat Tailscale/VPN) atau `0.0.0.0` untuk membukanya, atau (lebih disarankan) jalankan reverse proxy yang melakukan autentikasi di depannya |

Port web UI di dalam kontainer tetap di `8080` (diatur melalui `CMD` kontainer). `CASHPILOT_UI_PORT` dan `CASHPILOT_BIND_ADDR` hanya memilih port host dan antarmuka tempat port itu dipublikasikan.

### Variabel lingkungan worker

| Variabel | Bawaan | Deskripsi |
| --- | --- | --- |
| `TZ` | `UTC` | Zona waktu |
| `CASHPILOT_UI_URL` | \-- | URL kontainer UI, mis. `http://cashpilot-ui:8080` |
| `CASHPILOT_API_KEY` | \-- | Harus sama dengan kunci pendaftaran UI. Hanya diperlukan untuk mendaftar; setelah itu worker memakai kuncinya sendiri |
| `CASHPILOT_WORKER_NAME` | *(hostname)* | Nama tampilan worker ini di dasbor armada |
| `CASHPILOT_WORKER_URL` | *(terdeteksi otomatis)* | URL yang dipakai UI untuk menjangkau worker ini, mis. `http://192.168.1.50:8081`. Setel secara eksplisit untuk armada lintas host: deteksi otomatis bisa melaporkan IP internal kontainer yang tidak dapat dijangkau |
| `CASHPILOT_WORKER_BIND_ADDR` | `127.0.0.1` | **Hanya untuk compose armada dan worker jarak jauh** (`docker-compose.fleet.yml`): antarmuka host tempat port API worker yang memegang socket Docker dipublikasikan, loopback secara bawaan. `docker-compose.yml` bawaan sama sekali tidak memublikasikan port 8081. API worker dapat menerapkan/menghentikan kontainer apa pun (= root di host), jadi untuk worker jarak jauh, ikat ke antarmuka privat/VPN (mis. IP Tailscale), **jangan pernah** ke IP publik |
| `CASHPILOT_PORT` | `8081` | Port yang **diumumkan** worker ke UI. Variabel ini *tidak* mengubah port tempat worker mendengarkan, yang ditetapkan oleh `CMD` image; lihat [referensi konfigurasi](<https://geiserx.github.io/CashPilot/id/configuration/index.md>) |

### Contoh Docker Compose

```
# CashPilot - Self-hosted passive income orchestrator
# https://github.com/GeiserX/CashPilot
#
# UI + Worker on the same server. For multi-server fleet, see docker-compose.fleet.yml
#
#   Start / update:  docker compose pull && docker compose up -d
#
# ONE CashPilot per Docker host. The container names in this file are fixed,
# and a worker manages every container on its Docker engine that carries
# CashPilot's labels, whichever install made it. A second install on the same
# host would list, stop and replace the first one's earners. Put it on another
# host or VM. docs/getting-started.md has the details.
#
# Images are PINNED to a major.minor tag, which is what the lines below say.
# `docker compose pull && up -d` therefore gets the newest patch of that series,
# not the newest release overall. To move to a newer series, read UPGRADING.md
# first, then edit the tags on the UI host first and on every worker after it.
#
# This header used to claim the file tracked `latest` while pinning 1.4, and the
# string `:latest` it told you to replace did not appear anywhere. Following the
# quickstart therefore installed a version many releases behind, and issue #188
# is someone hitting a first-run bug that had been fixed for months because of
# it. Keep this comment honest about what the file actually does.
# See https://hub.docker.com/r/drumsergio/cashpilot/tags for available tags.
# NOTE: versions before 1.0.0 predate the per-worker fleet-key auth cutover and
# are not compatible with a worker running 1.x -- pin UI and worker together.
# Building from source? Use: docker compose -f docker-compose.build.yml up -d

services:
  cashpilot-ui:
    image: drumsergio/cashpilot:3.3
    pull_policy: always
    container_name: cashpilot-ui
    # Published on loopback by default: the dashboard can command the Docker-socket
    # worker, so it must not be exposed to your LAN/the internet out of the box.
    # To reach it from another machine, point CASHPILOT_BIND_ADDR at a specific
    # interface (e.g. a Tailscale/VPN IP) or, better, run an authenticating reverse
    # proxy in front. CASHPILOT_BIND_ADDR=0.0.0.0 publishes on all interfaces.
    # Host port 8080 already taken? Set CASHPILOT_UI_PORT=8088 (and CASHPILOT_BIND_ADDR)
    # in a .env file next to this compose file, not on the command line. The in-app
    # update reads .env and never sees your shell. The container port stays 8080.
    ports:
      - "${CASHPILOT_BIND_ADDR:-127.0.0.1}:${CASHPILOT_UI_PORT:-8080}:8080"
    volumes:
      - cashpilot_data:/data
      - cashpilot_fleet_owned:/fleet
    environment:
      - TZ=${TZ:-UTC}
      - CASHPILOT_SECRET_KEY=${CASHPILOT_SECRET_KEY:-}
      # Optional: only needed to RESTORE credentials onto a fresh volume.
      # An existing /data/.fernet_key always wins, so setting this is safe.
      - CASHPILOT_ENCRYPTION_KEY=${CASHPILOT_ENCRYPTION_KEY:-}
      - CASHPILOT_ALLOW_EPHEMERAL_KEY=${CASHPILOT_ALLOW_EPHEMERAL_KEY:-false}
      - CASHPILOT_API_KEY=${CASHPILOT_API_KEY:-}
      - CASHPILOT_ADMIN_API_KEY=${CASHPILOT_ADMIN_API_KEY:-}
      # Optional bearer key for reporting only (Home Assistant, Grafana,
      # cashpilot-mcp with CASHPILOT_READ_ONLY=true). See docs/configuration.md.
      - CASHPILOT_READONLY_API_KEY=${CASHPILOT_READONLY_API_KEY:-}
      # Optional Prometheus /metrics. true serves it; set a token to require
      # Authorization: Bearer. See docs/guides/prometheus-metrics.md.
      - CASHPILOT_METRICS_ENABLED=${CASHPILOT_METRICS_ENABLED:-false}
      - CASHPILOT_METRICS_TOKEN=${CASHPILOT_METRICS_TOKEN:-}
      # Optional CAPTCHA on the sign-in page, for a UI the internet can reach:
      # turnstile, hcaptcha or recaptcha (v2 checkbox), plus both keys. Empty = off.
      # See docs/security-defaults.md, "Protect the sign-in page with a CAPTCHA".
      - CASHPILOT_CAPTCHA_PROVIDER=${CASHPILOT_CAPTCHA_PROVIDER:-}
      - CASHPILOT_CAPTCHA_SITE_KEY=${CASHPILOT_CAPTCHA_SITE_KEY:-}
      - CASHPILOT_CAPTCHA_SECRET_KEY=${CASHPILOT_CAPTCHA_SECRET_KEY:-}
      # Warn when a container misses a later catalog fix. false turns it off.
      - CASHPILOT_DRIFT_WARNINGS=${CASHPILOT_DRIFT_WARNINGS:-true}
    init: true
    # The image declares its own HEALTHCHECK, so `docker ps` will show
    # "(unhealthy)" when the app stops answering. NOTHING ACTS ON THAT BY
    # DEFAULT: `restart: unless-stopped` restarts a container that EXITS, and a
    # container failing its healthcheck is still running. It will sit there
    # unhealthy indefinitely. (Docker Swarm reschedules unhealthy tasks; plain
    # Compose does not.)
    #
    # To act on it, either alert on it -- see the CashPilotDown rule in
    # docs/guides/prometheus-metrics.md -- or add an autoheal sidecar, which is
    # documented in the same place along with the fact that it needs the Docker
    # socket, i.e. root on the host.
    restart: unless-stopped
    security_opt:
      - no-new-privileges:true
    tmpfs:
      - /tmp:size=64M
    # cashpilot_fleet_owned is filled by cashpilot-migrate on an upgrade.
    depends_on:
      cashpilot-migrate:
        condition: service_completed_successfully
    # Where the UI reaches the worker. Labelled for the proxy, so the in-app
    # update may attach the worker to it.
    networks:
      - cashpilot_owned

  # Runs once at every `docker compose up`, before the proxy, and exits.
  # Releases before owner isolation made volumes and the LAN fence's network
  # without the proxy's owner label, and Docker cannot add a label later, so
  # this copies each one to a backup, recreates it with the label, copies the
  # data back and checks it, then recreates the service container as it was.
  # The backups (<volume>-pre-isolation) and the volumes this file renamed are
  # never deleted: UPGRADING.md says how to remove them. It holds the raw
  # socket only while it runs; a second run finds nothing to do.
  cashpilot-migrate:
    image: drumsergio/cashpilot-worker:3.3
    pull_policy: always
    container_name: cashpilot-migrate
    user: "0:0"
    entrypoint: ["python", "-m", "app.owner_migrate"]
    environment:
      # old=new compose volume keys: the data moves into the labelled volume.
      - CASHPILOT_MIGRATE_COMPOSE_VOLUMES=cashpilot_worker_data=cashpilot_worker_data_owned,cashpilot_fleet=cashpilot_fleet_owned
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      # Each step it finished, so a run killed halfway is completed by the next.
      # A folder, not a volume: the in-app update runs docker compose through
      # the proxy, and Compose checks every volume of the worker's dependencies,
      # this one included, which the proxy will not let the worker see.
      - ./cashpilot-migrate-state:/state
    network_mode: none
    restart: "no"
    healthcheck:
      disable: true
    cap_drop:
      - ALL
    security_opt:
      - no-new-privileges:true

  # Holds the host's Docker socket so the worker does not have to. It serves
  # a filtered copy in the cashpilot_docker_api volume and refuses every call
  # the worker does not make: a privileged container, a bind of / or of the
  # socket, a capability or device outside the catalog's, exec of anything but
  # the catalog's readers, swarm, plugins, builds. The policy is the configs
  # block at the end of this file. docs/security-defaults.md has the details.
  #
  # Pinned by digest and bumped on purpose; the in-app update never recreates
  # it (it runs `up --no-deps` on the UI and worker only).
  cashpilot-socket-proxy:
    image: codeswhat/sockguard:2.4.10@sha256:af66f6dcab2d6c04c4a45823ea9b72549985bf1957dea3bb4382c1515ab9461e
    container_name: cashpilot-socket-proxy
    # Root with no capabilities: uid 0 opens the root-owned host socket, and
    # group 1000 (the worker's) lets it give the worker its socket.
    user: "0:0"
    group_add:
      - "1000"
    cap_drop:
      - ALL
    # One capability it never uses, and that no container the worker creates
    # may ask for. A container that joins this one's process namespace then
    # holds less than the proxy does, so the kernel refuses it the proxy's
    # files (/proc/1/root), the host socket among them.
    cap_add:
      - WAKE_ALARM
    security_opt:
      - no-new-privileges:true
    # Unix sockets only; it needs no network at all.
    network_mode: none
    restart: unless-stopped
    # It peaks near 45 MB, streams included; the cap only stops a leak
    # from taking the host's memory with it.
    mem_limit: 256m
    # One log line per Docker call (refusals included), so the log is capped.
    logging:
      driver: json-file
      options:
        max-size: "5m"
        max-file: "2"
    # `sockguard verify` asks the host's Docker through the socket this proxy
    # holds, so a stale or missing host socket (a Docker update replaced it,
    # docs/faq.md) turns it unhealthy. Exec form: the image has no shell.
    healthcheck:
      test: ["CMD", "/sockguard", "verify"]
      interval: 60s
      timeout: 10s
      retries: 3
      start_period: 20s
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock:ro
      - cashpilot_docker_api:/run/cashpilot-docker
    environment:
      # Host paths containers may bind: your compose folder (the in-app
      # update needs it) and each folder a service keeps its data in (Storj's
      # identity and data folders, for example), comma-separated. Set both in
      # the .env next to this file. The proxy binds a listed path only as
      # itself, never a folder under it, so list every path a service binds.
      # Write each as an exact absolute path, with no trailing slash, `//`, `.`
      # or `..`: the proxy refuses to start on any other spelling.
      # The placeholders sit under /dev/null, where no directory can ever exist
      # (Docker cannot create one there), so an unset variable allows nothing.
      - SOCKGUARD_REQUEST_BODY_CONTAINER_CREATE_ALLOWED_BIND_MOUNTS=${CASHPILOT_COMPOSE_DIR:-/dev/null/cashpilot-compose-dir-unset},${CASHPILOT_PROXY_BIND_MOUNTS:-/dev/null/cashpilot-bind-mounts-unset}
      # The policy's fingerprint. Compose does not recreate a container when
      # only its config's content changes, so this line is what makes
      # `docker compose up -d` restart the proxy on a new policy.
      - CASHPILOT_PROXY_POLICY=bf36af85a1e0f393
    configs:
      - source: cashpilot_socket_policy
        target: /etc/sockguard/sockguard.yaml
    depends_on:
      cashpilot-migrate:
        condition: service_completed_successfully

  cashpilot-worker:
    image: drumsergio/cashpilot-worker:3.3
    pull_policy: always
    container_name: cashpilot-worker
    # The proxy's owner label: the worker may read its own container, and the
    # in-app update may recreate it through the proxy.
    labels:
      cashpilot.deployed-by: worker
    expose:
      - "8081"
      # The worker reads host GPU information from sysfs. Leave the GPU
      # devices on the host so it can grant them to catalog services
      # that declare docker.gpu. See docs/gpu.md.
    volumes:
      # No Docker socket here: the worker reaches Docker through the proxy's
      # filtered socket in this volume (DOCKER_HOST below).
      - cashpilot_docker_api:/run/cashpilot-docker
      # SEPARATE FROM THE UI'S /data, DELIBERATELY. This container drives
      # Docker, so a flaw in it reaches the host. The UI's /data holds
      # cashpilot.db and .fernet_key -- the credential store and the only key
      # that can decrypt it -- and the component that can start any container
      # on the machine has no business being able to read them.
      #
      # /fleet IS shared on purpose: it holds only the shared enrolment key,
      # which both sides need by definition.
      #
      # Consolidating these into one volume is the obvious "simplification" and
      # it silently removes that boundary. tests/test_beads_batch_69.py fails if
      # anyone does.
      - cashpilot_worker_data_owned:/data
      - cashpilot_fleet_owned:/fleet
    environment:
      - TZ=${TZ:-UTC}
      - CASHPILOT_UI_URL=http://cashpilot-ui:8080
      - CASHPILOT_API_KEY=${CASHPILOT_API_KEY:-}
      - CASHPILOT_WORKER_NAME=local
      - CASHPILOT_MINERS=${CASHPILOT_MINERS:-}
      - DOCKER_HOST=unix:///run/cashpilot-docker/docker.sock
      # The proxy policy's fingerprint (scripts/socket_proxy_policy.py), so the
      # worker can say when its image needs a newer policy than this file has.
      - CASHPILOT_PROXY_POLICY=bf36af85a1e0f393
      # The same two values the proxy gets, so the worker can say what to set
      # before the proxy refuses (the in-app update, a host-folder bind).
      - CASHPILOT_COMPOSE_DIR=${CASHPILOT_COMPOSE_DIR:-}
      - CASHPILOT_PROXY_BIND_MOUNTS=${CASHPILOT_PROXY_BIND_MOUNTS:-}
      # Earners are fenced off your LAN and this host by default (docs/isolation.md).
      # off keeps Docker's default bridge.
      - CASHPILOT_ISOLATION=${CASHPILOT_ISOLATION:-auto}
      - CASHPILOT_DRIFT_WARNINGS=${CASHPILOT_DRIFT_WARNINGS:-true}
    depends_on:
      - cashpilot-socket-proxy
    init: true
    restart: unless-stopped
    security_opt:
      - no-new-privileges:true
    tmpfs:
      - /tmp:size=64M
    # Labelled for the proxy, so the in-app update may attach the worker to it.
    networks:
      - cashpilot_owned

volumes:
  cashpilot_data:
  # The worker's own data and the enrolment key it shares with the UI. They
  # carry the proxy's owner label, so the in-app update may mount them. Compose
  # never relabels a volume, so they are new ones: cashpilot-migrate copied
  # cashpilot_worker_data and cashpilot_fleet into them and left the old ones
  # as backups. The UI's cashpilot_data never carries the label.
  cashpilot_worker_data_owned:
    labels:
      cashpilot.deployed-by: worker
  cashpilot_fleet_owned:
    labels:
      cashpilot.deployed-by: worker
  # Fixed name: the in-app update mounts it by name to reach the proxy. It
  # replaced cashpilot-docker-api, which held nothing but the socket.
  cashpilot_docker_api:
    name: cashpilot-docker-api-owned
    labels:
      cashpilot.deployed-by: worker

networks:
  cashpilot_owned:
    labels:
      cashpilot.deployed-by: worker

# The Docker socket proxy's policy. scripts/socket_proxy_policy.py writes it
# from the catalog; `$$` is how compose spells a literal `$`. Needs Docker
# Compose 2.23.1 or newer (inline config content).
configs:
  cashpilot_socket_policy:
    content: |
      # BEGIN socket proxy policy: written by scripts/socket_proxy_policy.py, do not edit by hand
      listen:
        socket: /run/cashpilot-docker/docker.sock
        # The worker runs as uid/gid 1000 (Dockerfile.worker). The proxy runs as
        # root with no capabilities and joins group 1000, so it can hand the socket
        # to that group without asking for the host's docker group id.
        socket_mode: "0660"
        socket_gid: 1000
      upstream:
        socket: /var/run/docker.sock
        # Image pulls and container waits take minutes; the default cuts them at 60 s.
        request_timeout: "off"
      log:
        level: info
        format: json
        # One line per call, refusals included: docker logs cashpilot-socket-proxy
        # shows what was refused and why. The compose file caps the log's size.
        access_log: true
      health:
        enabled: false
      # The worker reads its own containers' logs and files (backups, the update check).
      insecure_allow_read_exfiltration: true
      response:
        # A refusal carries the rule's reason, which the worker shows to you.
        deny_verbosity: verbose
        # The worker reads Env, Mounts and IPAM back (recreates, the isolation check).
        redact_container_env: false
        redact_mount_paths: false
        redact_network_topology: false
      request_body:
        container_create:
          allow_privileged: false
          # The LAN fence helper and the isolation check's control probe run on the
          # host network; no earner does (the worker refuses it for every catalog
          # service, and the catalog refuses it to any service with NET_ADMIN).
          allow_host_network: true
          allow_host_pid: false
          allow_host_ipc: false
          allow_host_userns: false
          allow_host_cgroupns: false
          allowed_capabilities: [NET_ADMIN, NET_RAW, SETUID, SETGID]
          allowed_devices: [/dev/net/tun, /dev/dri/renderD128, /dev/dri/renderD129, /dev/dri/renderD130, /dev/dri/renderD131, /dev/dri/renderD132, /dev/dri/renderD133, /dev/dri/renderD134, /dev/dri/renderD135, /dev/kfd, /dev/ttyUSB0, /dev/ttyUSB1, /dev/ttyUSB2, /dev/ttyUSB3, /dev/ttyUSB4, /dev/ttyUSB5, /dev/ttyUSB6, /dev/ttyUSB7, /dev/ttyUSB8, /dev/ttyUSB9, /dev/ttyACM0, /dev/ttyACM1, /dev/ttyACM2, /dev/ttyACM3, /dev/ttyACM4, /dev/ttyACM5, /dev/ttyACM6, /dev/ttyACM7, /dev/ttyACM8, /dev/ttyACM9]
          allowed_device_requests: [{driver: nvidia, allowed_capabilities: [[gpu]]}]
          allowed_runtimes: [runc, runsc, runsc-hostnet, runsc-hostnet-raw]
          allow_sysctls: true               # the tunnel sidecar turns IPv6 off in its own namespace
          require_no_new_privileges: true
          deny_unconfined_seccomp: true
          deny_unconfined_apparmor: true
          deny_unconfined_system_paths: true
          # Host folders containers may bind come from CASHPILOT_COMPOSE_DIR and
          # CASHPILOT_PROXY_BIND_MOUNTS, through the proxy service's environment.
          allowed_bind_mounts: []
        container_remove:
          allow_force: true
          allow_remove_volumes: true
        container_archive:
          # The only folder the worker writes into a container: the tunnel
          # sidecar's proxy settings.
          allowed_paths: [/run/cashpilot-secret]
          allow_setid: false
          allow_device_nodes: false
          allow_escaping_links: false
        exec:
          allow_privileged: false
          allow_root_user: true
          # The worker's exec calls send no environment. This name is never sent,
          # so any Env entry (PATH, LD_PRELOAD) is refused.
          allowed_env_vars: [CASHPILOT_EXEC_SENDS_NO_ENV]
          allowed_commands:
            - ["cat", "/run/ready"]
            - ["sh", "-c", "id=$$(wget -qO- -T 5 http://127.0.0.1:4050/identities | grep -o '0x[0-9a-fA-F]\\{40\\}' | head -1) && wget -qO- -T 5 \"http://127.0.0.1:4050/identities/$$id\" && { echo; wget -qO- -T 5 \"http://127.0.0.1:4050/transactor/settle/history?page_size=1000\" || true; }"]
            - ["sh", "-c", "id=$$(wget -qO- -T 5 http://127.0.0.1:4050/identities | grep -o '0x[0-9a-fA-F]\\{40\\}' | head -1) && wget -qO- -T 5 \"http://127.0.0.1:4050/identities/$$id/beneficiary\""]
            - ["timeout", "12", "sh", "-c", "if m=$$(wget -qO- -Y off -T 5 http://127.0.0.1:4050/node/monitoring-status); then\n  echo \"monitoring read: $$m\"\nfi\nset -o pipefail\nif s=$$(wget -qO- -Y off -T 5 \"http://127.0.0.1:4050/sessions?direction=Provided&status=Completed&page_size=100\") &&\n  sorted=$$(echo \"$$s\" | sed 's/},{/}\\n{/g' | awk '\n    match($$0, /\"created_at\":\"[^\"]+\"/) {\n      t = substr($$0, RSTART + 14, 19); gsub(/[-T:]/, \" \", t)\n      d = 0; if (match($$0, /\"duration\":[0-9]+/)) d = substr($$0, RSTART + 11, RLENGTH - 11)\n      print mktime(t) + d, $$0\n    }' | sort -rn); then\n  [ -z \"$$sorted\" ] || echo \"$$sorted\" | head -5\n  echo \"sessions read: all\"\nfi"]
            - ["sh", "-c", "T=\"\"; command -v timeout >/dev/null 2>&1 && T=\"timeout 5\"; $$T iptables-nft -t nat -S MYST 2>/dev/null; if grep -qx nat /proc/net/ip_tables_names 2>/dev/null; then $$T iptables-legacy -t nat -S MYST 2>/dev/null; $$T iptables -t nat -S MYST 2>/dev/null; else case \"$$($$T iptables -V 2>/dev/null)\" in *nf_tables*) $$T iptables -t nat -S MYST 2>/dev/null;; esac; fi"]
            - ["cat", "/etc/anon/anonrc"]
        image_pull:
          allow_all_registries: true        # catalog and custom services come from many registries
        network:
          # The LAN fence (app/lan_fence.py) creates its bridge with three driver
          # options (interface name, no masquerade, no inter-container traffic) and
          # moves an earner across with a forced disconnect. Custom drivers, swarm
          # scope, custom IPAM and endpoint settings stay refused.
          allow_driver_options: true
          allow_disconnect_force: true
        volume:
          # Plain local volumes only: driver options could point one at a host folder.
          allow_custom_drivers: false
          allow_driver_opts: false
      # The worker sees and touches only what carries the owner label below: what
      # it created through this proxy, and what app/owner_migrate.py labelled. The
      # UI's container and its data volume never carry it.
      ownership:
        owner: worker
        label_key: cashpilot.deployed-by
        # Images carry no owner: one pulled for an earner is shared with the host.
        allow_unowned_images: true
        allow_cross_owner_namespace_sharing: false
      rules:
        - {match: {method: GET, path: "/_ping"}, action: allow}
        - {match: {method: HEAD, path: "/_ping"}, action: allow}
        - {match: {method: GET, path: "/version"}, action: allow}
        - {match: {method: GET, path: "/info"}, action: allow}
        - {match: {method: GET, path: "/containers/json"}, action: allow}
        - {match: {method: GET, path: "/containers/*/json"}, action: allow}
        - {match: {method: POST, path: "/containers/create"}, action: allow}
        - {match: {method: POST, path: "/containers/*/start"}, action: allow}
        - {match: {method: POST, path: "/containers/*/stop"}, action: allow}
        - {match: {method: POST, path: "/containers/*/restart"}, action: allow}
        - {match: {method: POST, path: "/containers/*/pause"}, action: allow}
        - {match: {method: POST, path: "/containers/*/unpause"}, action: allow}
        - {match: {method: POST, path: "/containers/*/wait"}, action: allow}
        - {match: {method: POST, path: "/containers/*/rename"}, action: allow}
        - {match: {method: DELETE, path: "/containers/*"}, action: allow}
        - {match: {method: GET, path: "/containers/*/logs"}, action: allow}
        - {match: {method: GET, path: "/containers/*/stats"}, action: allow}
        - {match: {method: GET, path: "/containers/*/archive"}, action: allow}
        - {match: {method: PUT, path: "/containers/*/archive"}, action: allow}
        - {match: {method: POST, path: "/containers/*/exec"}, action: allow}
        - {match: {method: POST, path: "/exec/*/start"}, action: allow}
        - {match: {method: GET, path: "/exec/*/json"}, action: allow}
        - {match: {method: GET, path: "/images/**/json"}, action: allow}
        - {match: {method: POST, path: "/images/create"}, action: allow}
        - {match: {method: GET, path: "/networks"}, action: allow}
        - {match: {method: GET, path: "/networks/*"}, action: allow}
        - {match: {method: POST, path: "/networks/create"}, action: allow}
        - {match: {method: POST, path: "/networks/*/connect"}, action: allow}
        - {match: {method: POST, path: "/networks/*/disconnect"}, action: allow}
        - {match: {method: DELETE, path: "/networks/*"}, action: allow}
        - {match: {method: POST, path: "/volumes/create"}, action: allow}
        - {match: {method: GET, path: "/volumes/*"}, action: allow}
        - {match: {method: DELETE, path: "/volumes/*"}, action: allow}
        - {match: {method: "*", path: "/**"}, action: deny, reason: "the CashPilot worker does not use this Docker API call"}
      # END socket proxy policy
```

> [!NOTE]
>
> **Ini file yang sebenarnya**
>
> Blok di atas disertakan apa adanya dari `docker-compose.yml` di repositori, sehingga tidak bisa menyimpang dari apa yang benar-benar dirilis. Dulu, versi yang disalin secara manual memublikasikan API worker yang memegang socket Docker di setiap antarmuka dan mengunci `:latest`, dua hal yang menurut halaman [pengaturan keamanan bawaan](<https://geiserx.github.io/CashPilot/id/security-defaults/index.md>) tidak boleh Anda lakukan.

> [!WARNING]
>
> **Akses socket Docker**
>
> Worker mengelola kontainer layanan melalui Docker, tetapi tidak memasang `/var/run/docker.sock`. Kontainer `cashpilot-socket-proxy` memegang socket itu dan hanya meneruskan ke worker panggilan yang memang dibuatnya, sambil menolak kontainer privileged dan bind folder host yang belum Anda daftarkan ([apa yang ditolaknya](<https://geiserx.github.io/CashPilot/id/security-defaults/index.md#docker-socket-proxy>)). Pembaruan dari dalam aplikasi bersifat opsional: pembaruan itu hanya berjalan dengan `CASHPILOT_COMPOSE_DIR=<this folder>` di `.env` di samping file compose, dan pengaturan itu mengizinkan kontainer melakukan bind ke folder tersebut, yang melemahkan proxy ([apa harganya](<https://geiserx.github.io/CashPilot/id/security-defaults/index.md#docker-socket-proxy>)). Biarkan tidak diatur dan perbarui dengan `docker compose pull && docker compose up -d`. Worker tetap mengendalikan setiap kontainer di host, jadi jalankan CashPilot di mesin atau VLAN khusus untuk keamanan terbaik.

> [!TIP]
>
> **Persistensi kunci rahasia**
>
> Kredensial dienkripsi dengan `CASHPILOT_ENCRYPTION_KEY`, **bukan** `CASHPILOT_SECRET_KEY`, yang hanya menandatangani sesi login. Kunci enkripsi dibuat otomatis saat pertama kali dijalankan dan disimpan di `/data/.fernet_key`. **Cadangkan file itu.** Jika volume dibuat ulang tanpa file itu, kunci baru akan dibuat dan setiap kredensial tersimpan menjadi tidak dapat dibaca selamanya. Menyetel `CASHPILOT_ENCRYPTION_KEY` berguna untuk memulihkan cadangan itu; file kunci selalu menang, jadi menyetelnya pada instans yang sehat tidak mengubah apa pun.

> [!TIP]
>
> **Kata sandi dan rahasia di UI**
>
> Ubah kata sandi Anda kapan saja dari menu avatar -\> **Change password** (Ubah kata sandi) (tersedia untuk semua peran); tindakan ini mengeluarkan sesi Anda yang lain. Di **Settings** (Pengaturan), rahasia yang tersimpan bersifat hanya-tulis: masukkan nilai untuk mengubahnya, atau kosongkan kolom untuk mempertahankan nilai yang ada. Kredensial yang tersimpan tidak pernah dikirim kembali ke browser.

## Memperbarui CashPilot

File compose mengunci satu seri major.minor, seperti `drumsergio/cashpilot:X.Y`, sehingga `pull` mengambil patch terbaru dari seri itu:

```
docker compose pull
docker compose up -d
```

`docker compose pull` mengambil image terbaru yang dipublikasikan dan `up -d` hanya membuat ulang kontainer yang image-nya berubah. File compose yang dirilis menyetel `pull_policy: always`, sehingga `docker compose up -d` saja pun akan menarik image terbaru lebih dulu.

**Dari dasbor.** **Settings** (Pengaturan), **About and updates** (Tentang dan pembaruan) menjalankan dua perintah yang sama untuk Anda dari kontainer pembantu yang berumur pendek. Kontainer pembantu itu membaca file compose Anda dan `.env` di sampingnya (atau file yang Anda berikan dengan `--env-file`), tidak pernah shell tempat Anda menjalankan CashPilot. Misalnya Anda menjalankannya dengan `CASHPILOT_UI_PORT=8088 docker compose up -d`. Pembaruan akan mengembalikan dasbor ke 8080, jadi pembaruan berhenti dan memberi tahu alasannya sebagai gantinya. Masukkan nilai itu ke `.env` dan tombolnya akan berfungsi.

> [!NOTE]
>
> **Anda **tidak** perlu membangun ulang**
>
> CashPilot merilis image multi-arsitektur yang sudah jadi di Docker Hub ([`drumsergio/cashpilot`](<https://hub.docker.com/r/drumsergio/cashpilot>), [`drumsergio/cashpilot-worker`](<https://hub.docker.com/r/drumsergio/cashpilot-worker>)). `docker compose build` / `--build` hanya relevan jika Anda sengaja membangun dari kode sumber dengan `docker-compose.build.yml`. Untuk instalasi normal, `pull` + `up -d` adalah prosedur pembaruan yang lengkap dan benar.

### Mengunci versi tertentu

Untuk tetap di satu rilis yang persis, ganti tag seri `X.Y` di `docker-compose.yml` dengan tag rilis lengkap `X.Y.Z` pada `drumsergio/cashpilot` dan `drumsergio/cashpilot-worker` (selalu tag yang sama pada keduanya), lalu hapus `pull_policy: always`. Telusuri tag di [Docker Hub](<https://hub.docker.com/r/drumsergio/cashpilot/tags>).

Untuk pindah ke seri yang lebih baru, edit kedua tag: pertama di host UI, lalu di setiap host worker. Baca [UPGRADING.md](<https://github.com/GeiserX/CashPilot/blob/main/UPGRADING.md>) terlebih dahulu, karena rilis major seperti 3.0 punya langkahnya sendiri.

### Mengotomatiskan pembaruan (opsional)

Jika Anda ingin pembaruan tanpa campur tangan, arahkan penjadwal ke dua perintah yang sama, misalnya dengan entri cron harian:

```
0 4 * * *  cd /path/to/cashpilot && docker compose pull && docker compose up -d
```

Atau jalankan pembaru otomatis seperti [Watchtower](<https://containrrr.dev/watchtower/>) atau [Diun](<https://crazymax.dev/diun/>) terhadap kontainer CashPilot. Ini opsional. CashPilot tidak menyertakan pembaru.

### Membersihkan image lama

CashPilot menghapus image hanya setelah [pembaruan image aplikasi](<https://geiserx.github.io/CashPilot/id/image-updates/index.md>) menggantikannya, dan hanya pada worker yang memiliki socket Docker mentah. Selain itu, setiap pembaruan dan setiap penerapan ulang bisa meninggalkan image sebelumnya di disk. Pada armada uji tiga server, image lama CashPilot dan aplikasi penghasil totalnya sekitar 3 GB. Itu kecil dibanding apa yang biasanya ditinggalkan program lain di host yang sama, jadi periksa seluruh host:

```
docker system df
```

Nilai `RECLAIMABLE` pada baris `Images` adalah ruang yang bisa dibebaskan Docker.

**Mengapa CashPilot tidak melakukannya untuk Anda.** Worker menjangkau Docker melalui socket proxy. Untuk image, proxy hanya mengizinkannya menarik satu image dan membaca satu image berdasarkan nama, tidak lebih. Worker tidak dapat menampilkan daftar image host atau menghapusnya. Worker yang bisa melakukannya juga akan melihat dan menghapus image setiap program lain di host. Lihat [apa yang ditolak proxy](<https://geiserx.github.io/CashPilot/id/security-defaults/index.md#docker-socket-proxy>).

**Langkah 1: hapus image yang menggantung.** Image yang menggantung tidak punya tag dan tidak dipakai kontainer mana pun, baik yang berjalan maupun yang berhenti. Pembaruan lewat tag bergerak seperti `X.Y` (seri seperti yang dikunci file compose), `latest`, atau digest meninggalkan persis image seperti ini:

```
docker image prune
```

Perintah ini juga menghapus image yang Anda jalankan sebelum pembaruan lewat tag bergerak: begitu image baru untuk seri itu tiba, image lama tidak lagi punya tag. Agar tetap punya jalan kembali, catat versi persisnya sebelum Anda memperbarui (bagian bawah bilah samping menampilkannya), sehingga Anda bisa menarik `drumsergio/cashpilot:<X.Y.Z>` lagi. Atau kunci file compose ke tag `X.Y.Z` yang persis; maka image lama tetap punya tag dan langkah 2 berlaku.

Docker bertanya sebelum menghapus. Dalam entri cron, tambahkan `--force` untuk melewati pertanyaan itu. Opsi ini tidak mengubah hal lain:

```
30 4 * * 0  docker image prune --force
```

> [!WARNING]
>
> **Jangan tambahkan `-a`**
>
> `docker image prune -a` menghapus setiap image yang saat ini tidak dipakai kontainer mana pun, baik yang menggantung maupun yang bertag. Itu termasuk image dari stack yang sengaja Anda hentikan dan image yang Anda bangun secara lokal dan tidak bisa ditarik lagi.

**Langkah 2: hapus tag lama yang dikunci.** Image yang dikunci ke suatu versi tetap mempertahankan tagnya setelah Anda pindah ke versi yang lebih baru, sehingga `prune` melewatinya. Image CashPilot berikut dikunci:

| Repositori | Yang menguncinya |
| --- | --- |
| `drumsergio/cashpilot` | File compose (seri lama, atau versi persis yang Anda kunci) |
| `drumsergio/cashpilot-worker` | File compose, sama seperti di atas |
| `drumsergio/cashpilot-tunnel` | Worker, satu tag per versi worker |
| `drumsergio/cashpilot-earnapp` | Entri katalog EarnApp |
| `drumsergio/cashpilot-anyone` | Entri katalog Anyone Protocol |

Hal yang sama berlaku untuk image layanan yang sudah Anda hapus: tagnya tetap ada sampai Anda menghapusnya. Image katalog yang dikunci dengan digest, seperti MystNodes atau ProxyBase, kehilangan tagnya saat image yang lebih baru menggantikannya, sehingga langkah 1 sudah mencakupnya.

Pertama, tampilkan tag yang tidak dipakai kontainer mana pun. Contoh ini untuk image worker. Untuk repositori lain dari tabel, ubah `repo`:

```
repo=drumsergio/cashpilot-worker
used=$(docker ps -a --format '{{.Image}}')
docker image ls "$repo" --format '{{.Repository}}:{{.Tag}}' | grep -vxF "$used"
```

Lalu hapus setiap tag lama berdasarkan nama, satu per satu:

```
docker image rm drumsergio/cashpilot-worker:<old tag>
```

Jangan tambahkan `-f`. Tanpa opsi itu, Docker menolak menghapus image yang masih dipakai kontainer, baik yang berjalan maupun yang berhenti, dan mencetak `conflict: unable to delete`. Jika Anda melihatnya, pertahankan image itu. Pertahankan tag yang Anda jalankan dan tag yang Anda jalankan sebelumnya, agar Anda masih bisa mundur satu versi. Hapus hanya tag yang lebih lama dari keduanya.

Kolom **Host disk** (Disk host) di dasbor menampilkan ruang kosong pada sistem file yang menyimpan `/data` milik worker. Image biasanya berada di sistem file yang sama, di bawah direktori data root Docker, tetapi tidak selalu. `docker info --format '{{.DockerRootDir}}'` menampilkan data root Docker. Dengan containerd image store, bawaan pada instalasi baru Docker Engine 29, image berada di bawah root containerd, biasanya `/var/lib/containerd`. `docker info --format '{{.Driver}}'` mencetak `overlayfs` untuk containerd image store dan `overlay2` untuk yang klasik. Periksa ruang kosong pada sistem file yang menyimpan direktori yang berlaku.

## Layanan yang didukung

CashPilot mendukung **60 layanan** yang aktif atau dalam beta, dalam lima kategori:

- **Berbagi bandwidth** (19): bagikan bandwidth internet Anda untuk penghasilan pasif
- **DePIN** (16): jaringan infrastruktur fisik terdesentralisasi
- **Komputasi GPU** (7): sewakan GPU Anda untuk beban kerja AI dan komputasi
- **Penyimpanan** (3): bagikan ruang disk di jaringan penyimpanan terdesentralisasi
- **Penambangan** (14): terapkan penambang atau lacak pool berdasarkan alamat pembayaran ([Penambangan](<https://geiserx.github.io/CashPilot/id/mining/index.md>))

Dari jumlah itu, **30** dapat diterapkan dan dikelola otomatis melalui Docker. Katalog melacak 30 sisanya (19 aplikasi browser atau desktop, 7 node GPU, 4 pool penambangan). CashPilot membaca saldonya jika kolektor untuknya tersedia.

Jelajahi katalog lengkap di bagian [Panduan layanan](<https://geiserx.github.io/CashPilot/id/guides/index.md>).

## Langkah berikutnya

- [Cara kerja](<https://geiserx.github.io/CashPilot/id/how-it-works/index.md>) -- Pahami desain yang memisahkan UI dan Worker
- [Pengelolaan armada](<https://geiserx.github.io/CashPilot/id/fleet/index.md>) -- Terapkan di beberapa server
- [Melindungi jaringan rumah Anda](<https://geiserx.github.io/CashPilot/id/home-network-security/index.md>) -- Jauhkan kontainer dari LAN Anda, dan kapan gVisor membantu
- [Panduan layanan](<https://geiserx.github.io/CashPilot/id/guides/index.md>) -- Petunjuk penyiapan terperinci untuk setiap layanan
- [Menghapus CashPilot sepenuhnya](<https://geiserx.github.io/CashPilot/id/uninstall/index.md>) -- Hapus semua yang dibuatnya, untuk memulai dari awal atau untuk berhenti
