# Başlarken

> [!WARNING]
>
> Bu sayfanın İngilizce sürümü daha yeni. [İngilizce sürümü okuyun](<https://geiserx.github.io/CashPilot/getting-started/>).

## Ön koşullar

- **Compose v2 eklentisi, sürüm 2.23.1 veya daha yenisi** ile birlikte **Docker**. Bunu `docker compose version` ile kontrol edin. Eski sürümler compose dosyasındaki satır içi yapılandırmayı okuyamaz. Docker Desktop eklentiyi içerir. Linux'ta yalın bir Docker Engine üzerinde eklentiyi Docker'ın paket deposundan kurun ([https://docs.docker.com/compose/install/linux/](<https://docs.docker.com/compose/install/linux/>)). Colima kullanan macOS'ta eklentiyi Homebrew ile kurun ve bir Docker eklentisi olarak bağlayın:

  ```
  brew install docker-compose
  mkdir -p ~/.docker/cli-plugins
  ln -sfn "$(brew --prefix)/opt/docker-compose/bin/docker-compose" ~/.docker/cli-plugins/docker-compose
  ```
- Bir Linux, macOS veya Windows ana makinesi (amd64 veya arm64)
- CashPilot ve yönettiği hizmetler için en az 1 GB boş RAM
- **Docker ana makinesi başına bir CashPilot.** Aşağıdaki uyarıya bakın.

> [!WARNING]
>
> **Docker ana makinesi başına bir CashPilot**
>
> Tek bir Docker ana makinesinde iki CashPilot kurulumu çalıştırmayın. Compose dosyaları sabit konteyner adları kullanır (`cashpilot-ui`, `cashpilot-worker`, `cashpilot-socket-proxy`), bu yüzden dosyanın ikinci bir kopyası ad çakışması nedeniyle başarısız olur. Bunu aşmak için adları değiştirirseniz iki kurulum yine de aynı ana makineyi paylaşır. Her worker, hangi kurulum oluşturmuş olursa olsun, CashPilot'un etiketlerini taşıyan her konteyneri yönetir. Böylece her pano diğerinin kazanç uygulamalarını listeler, durdurur ve değiştirir. İkisi ayrıca `cashpilot-isolated` ağını, kazanç uygulaması adlarını (`cashpilot-<service>`), ana makine portlarını ve `mysterium-data` gibi birimleri de paylaşır. İkinci bir kurulum için başka bir ana makine veya VM kullanın. Kazanç uygulamalarını daha fazla sunucuda çalıştırmak için bunun yerine tek bir panoya worker ekleyin ([Filo](<https://geiserx.github.io/CashPilot/tr/fleet/index.md>)).

## Hızlı başlangıç

### 1\. Compose dosyasını indirin ve başlatın

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

Bu komut sürekli çalışan üç konteyner başlatır. Onlardan önce tek seferlik `cashpilot-migrate` her `up` işleminde çalışır ve 0 koduyla çıkar, bu yüzden `docker compose ps -a` onu `Exited (0)` olarak gösterir. Bu normaldir.

| Konteyner | Port | Amaç |
| --- | --- | --- |
| **cashpilot-migrate** | yok | Bir kez çalışır ve çıkar. Eski bir sürümün oluşturduğu verileri soket proxy'sinin kabul ettiği birimlere taşır; yeni bir kurulumda yapacak bir şey bulmaz |
| **cashpilot-ui** | 8080 | Web panosu, kazanç toplama, hizmet kataloğu |
| **cashpilot-worker** | 8081 | Hizmet konteynerlerini dağıtan ve izleyen Docker ajanı |
| **cashpilot-socket-proxy** | yok | Docker soketini tutar ve worker'a filtrelenmiş bir kopyasını verir ([Varsayılan güvenlik ayarları](<https://geiserx.github.io/CashPilot/tr/security-defaults/index.md>)) |

### 2\. Panoyu açın

Tarayıcınızda [http://localhost:8080](<http://localhost:8080>) adresine gidin. Henüz hiçbir hesap olmadığı için sahip hesabını oluşturan karşılama sayfasına ulaşırsınız.

> [!TIP]
>
> **8080 portu zaten kullanımda mı?**
>
> Compose dosyasını düzenlemek yerine `docker-compose.yml` dosyasının yanındaki bir `.env` dosyasında başka bir ana makine portu seçin:
>
> ```
> printf '\nCASHPILOT_UI_PORT=8088\n' >> .env
> docker compose up -d
> ```
>
> Ardından http://localhost:8088 adresini açın. Değeri `.env` içinde tutun, çünkü uygulama içi güncelleme kabuğunuzu değil o dosyayı okur. (`printf` yeni satırla başlar, böylece satır mevcut bir `.env` dosyasının son satırına asla eklenmez.)
>
> Değişken, `ports:` satırı `${CASHPILOT_UI_PORT:-8080}:8080` olan bir `docker-compose.yml` gerektirir. v1.61 ve daha eski sürümlerin dosyası `8080:8080` değerini sabit yazar ve değişkeni yok sayar. Güncel dosyayı indirin ya da kendi düzenlediğiniz port eşlemesini koruyun: uygulama içi güncelleme bunu da kabul eder.

> [!WARNING]
>
> **İlk çalıştırma kurulum belirteci gerekir**
>
> İlk başlatmada CashPilot tek kullanımlık bir kurulum belirteci üretir ve bunu **cashpilot-ui** konteynerinin günlüklerine yazar:
>
> ```
> docker compose logs cashpilot-ui
> ```
>
> Şuna benzer bir satır arayın:
>
> ```
> FIRST-RUN SETUP: no account exists yet. Open /register and enter this
> one-time setup token to create the owner account: <token>
> ```
>
> İlk hesabı (sahip hesabını) oluşturmak için bu belirteci, bir kullanıcı adı ve parolayla birlikte, karşılama sayfasının **Owner account** (Sahip hesabı) adımındaki **Setup token** (Kurulum belirteci) alanına kopyalayın. Belirteç yalnızca günlüklerde gösterilir, hiçbir zaman bir URL'de gösterilmez ve sahip hesabı oluştuğu anda kalıcı olarak atılır.

### 3\. Hizmet kataloğuna göz atın

**Catalog** (Katalog) sayfası her hizmeti platformları, aylık bir tahmin ve gereksinimleriyle (ev IP'si, GPU) listeler. Kategoriye göre (Bandwidth, DePIN, Storage, Compute, Mining) filtreleyin veya ada göre arayın. **Add** (Ekle) o hizmette kurulum sihirbazını açar, **Details** (Ayrıntılar) hizmetin açıklamasını, ödemelerini ve dağıtım riskini gösterir; Docker'da çalışmayan hizmetlerde bunun yerine bir **Visit** (Ziyaret et) bağlantısı bulunur.

İki tür hizmete önce daha yakından bakmak gerekir: Anyone Protocol, Sia ve Flux gibi yalnızca bir token stake'i kilitledikten sonra ödeme yapan hizmetler ve IP'nizi yayımlayan, ev bant genişliği uygulamalarının size ödediği tutarı düşürebilecek relay'ler. [Dağıtmadan önce iki şeyi kontrol edin](<https://geiserx.github.io/CashPilot/tr/guides/index.md>) bölümüne bakın.

### 4\. Sihirbazla hizmet ekleyin

Sahip hesabı oluştuktan sonra **Add services** (Hizmet ekle) kurulum sihirbazını açar; daha sonra üst çubuktaki **\+ Add service** (Hizmet ekle) düğmesi onu yeniden açar. Önce kategorileri, sonra hizmetleri seçin. Sihirbaz her hizmet için bir **Sign Up** (Kaydol) bağlantısı gösterir, yalnızca o hizmetin gerektirdiği kimlik bilgilerini (e-posta ve parola, API belirteci vb.) ister ve hizmeti çalıştıracağınız worker'ları seçmenize izin verir. **Deploy** (Dağıt) düğmesine tıklayın; CashPilot imajı çeker, konteyneri oluşturur ve izlemeye başlar.

### 5\. Panoda izleyin

Pano, dağıtılan her hizmeti durumu ve bakiyesiyle gösterir; **Fleet** (Filo) sayfası da her worker'ı gösterir.

## Nasıl çalışır

```
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. **Siz yapılandırırsınız**: hizmetleri web arayüzünden ayarlarsınız; bir hizmet seçer, kimlik bilgilerini girer, dağıt düğmesine tıklarsınız.
2. **Arayüz gönderir**: konteyner tanımını (imaj, ortam değişkenleri, birimler) REST API üzerinden worker'a gönderir.
3. **Worker oluşturur**: Docker konteynerini oluşturur ve sağlığını izlemeye başlar.
4. **Worker bildirir**: konteyner durumunu her 60 saniyede bir yaşam sinyalleriyle arayüze bildirir.
5. **Arayüz toplar**: kazançları hizmet API'lerinden yapılandırılabilir bir zamanlamayla toplar (varsayılan: saatte bir).
6. **Pano** toplu kazançları, hizmet başına dökümleri ve konteyner sağlığını gösterir.

## Yapılandırma

### Arayüz ortam değişkenleri

| Değişken | Varsayılan | Açıklama |
| --- | --- | --- |
| `TZ` | `UTC` | Zamanlama ve görüntüleme için saat dilimi |
| `CASHPILOT_SECRET_KEY` | *(otomatik üretilir)* | Oturum açma oturumları için imzalama anahtarı. `/data/.secret_key` konumunda saklanır. **Kimlik bilgilerini şifrelemez** |
| `CASHPILOT_ENCRYPTION_KEY` | *(otomatik üretilir)* | Saklanan kimlik bilgilerini diskte şifreleyen Fernet anahtarı. `/data/.fernet_key` konumunda saklanır. Yalnızca o dosya yoksa kullanılır ve `/data` içine asla yazılmaz. `CASHPILOT_ENCRYPTION_KEY_FILE` (bir yol) ikisinden de önceliklidir: bkz. [Veri klasörü dışında şifreleme anahtarı](<https://geiserx.github.io/CashPilot/tr/encryption-key/index.md>) |
| `CASHPILOT_API_KEY` | *(`/fleet` sayfasından)* | Worker'lar için ortak kayıt anahtarı. Her worker kaydolduğunda kendi anahtarını alır; bkz. [Filo](<https://geiserx.github.io/CashPilot/tr/fleet/index.md>) |
| `CASHPILOT_COLLECT_INTERVAL` | `60` | Kazanç toplama döngüleri arasındaki dakika sayısı |
| `CASHPILOT_UI_PORT` | `8080` | Arayüzün yayımlandığı ana makine portu. 8080 doluysa `.env` içinde ayarlayın |
| `CASHPILOT_BIND_ADDR` | `127.0.0.1` | Arayüz portunun yayımlandığı ana makine arayüzü. **Varsayılan olarak loopback**: pano, Docker soketine erişen worker'a komut verebilir, bu yüzden kutudan çıktığı haliyle ağınıza açılmaz. Açmak için belirli bir IP (ör. bir Tailscale/VPN adresi) veya `0.0.0.0` ayarlayın ya da (tercih edilen yol) önüne kimlik doğrulayan bir ters proxy koyun |

Arayüzün konteyner içindeki web portu `8080` olarak sabittir (konteynerin `CMD` komutuyla ayarlanır). `CASHPILOT_UI_PORT` ve `CASHPILOT_BIND_ADDR` yalnızca bu portun yayımlandığı ana makine portunu ve arayüzünü seçer.

### Worker ortam değişkenleri

| Değişken | Varsayılan | Açıklama |
| --- | --- | --- |
| `TZ` | `UTC` | Saat dilimi |
| `CASHPILOT_UI_URL` | \-- | Arayüz konteynerinin URL'si, ör. `http://cashpilot-ui:8080` |
| `CASHPILOT_API_KEY` | \-- | Arayüzün kayıt anahtarıyla eşleşmelidir. Yalnızca kayıt için gerekir; worker daha sonra kendi anahtarını kullanır |
| `CASHPILOT_WORKER_NAME` | *(ana makine adı)* | Bu worker'ın filo panosundaki görünen adı |
| `CASHPILOT_WORKER_URL` | *(otomatik algılanır)* | Arayüzün bu worker'a ulaşmak için kullandığı URL, ör. `http://192.168.1.50:8081`. Farklı ana makinelere yayılan filolarda açıkça ayarlayın: otomatik algılama, ulaşılamayan bir konteyner içi IP bildirebilir |
| `CASHPILOT_WORKER_BIND_ADDR` | `127.0.0.1` | **Yalnızca filo ve uzak worker compose dosyası** (`docker-compose.fleet.yml`): worker'ın Docker soketine erişen API portunun yayımlandığı ana makine arayüzü, varsayılan olarak loopback. Varsayılan `docker-compose.yml` 8081 portunu hiç yayımlamaz. Worker API'si herhangi bir konteyneri dağıtabilir veya durdurabilir (= ana makinede root), bu yüzden uzak bir worker için özel/VPN arayüzüne (ör. bir Tailscale IP'si) bağlayın, **asla** genel bir IP'ye bağlamayın |
| `CASHPILOT_PORT` | `8081` | Worker'ın arayüze **bildirdiği** port. Dinleme portunu *değiştirmez*; o port imajın `CMD` komutuyla sabittir; bkz. [yapılandırma başvurusu](<https://geiserx.github.io/CashPilot/tr/configuration/index.md>) |

### Docker Compose örneği

```
# 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]
>
> **Bu gerçek dosyadır**
>
> Yukarıdaki blok depodaki `docker-compose.yml` dosyasından olduğu gibi alınır, bu yüzden gerçekte yayımlanan dosyadan sapamaz. Daha önce elle kopyalanmış bir sürümü worker'ın Docker soketine erişen API'sini her arayüzde yayımlıyor ve `:latest` sabitliyordu; [varsayılan güvenlik ayarları](<https://geiserx.github.io/CashPilot/tr/security-defaults/index.md>) sayfası ikisini de yapmamanızı söyler.

> [!WARNING]
>
> **Docker soketine erişim**
>
> Worker hizmet konteynerlerini Docker üzerinden yönetir, ancak `/var/run/docker.sock` bağlamaz. Soketi `cashpilot-socket-proxy` konteyneri tutar ve worker'a yalnızca onun yaptığı çağrıları iletir; ayrıcalıklı konteynerleri ve listelemediğiniz ana makine klasörlerinin bağlanmasını reddeder ([neleri reddettiği](<https://geiserx.github.io/CashPilot/tr/security-defaults/index.md#docker-socket-proxy>)). Uygulama içi güncelleme isteğe bağlıdır: yalnızca compose dosyasının yanındaki `.env` içinde `CASHPILOT_COMPOSE_DIR=<this folder>` olduğunda çalışır ve bu ayar konteynerlerin o klasörü bağlamasına izin verir, bu da proxy'yi zayıflatır ([bunun bedeli](<https://geiserx.github.io/CashPilot/tr/security-defaults/index.md#docker-socket-proxy>)). Ayarı boş bırakın ve `docker compose pull && docker compose up -d` ile güncelleyin. Worker yine de ana makinedeki her konteyneri kontrol eder, bu yüzden en iyi güvenlik için CashPilot'u ayrı bir makinede veya VLAN'da çalıştırın.

> [!TIP]
>
> **Gizli anahtarın kalıcılığı**
>
> Kimlik bilgileri `CASHPILOT_SECRET_KEY` ile **değil**, `CASHPILOT_ENCRYPTION_KEY` ile şifrelenir; `CASHPILOT_SECRET_KEY` yalnızca oturum açma oturumlarını imzalar. Şifreleme anahtarı ilk çalıştırmada otomatik üretilir ve `/data/.fernet_key` konumunda saklanır. **O dosyanın yedeğini alın.** Birim o dosya olmadan yeniden oluşturulursa yeni bir anahtar üretilir ve saklanan her kimlik bilgisi kalıcı olarak okunamaz hale gelir. `CASHPILOT_ENCRYPTION_KEY` ayarı o yedeği geri yüklemek içindir; anahtar dosyası her zaman önceliklidir, bu yüzden sağlıklı bir kurulumda ayarlamak hiçbir şeyi değiştirmez.

> [!TIP]
>
> **Arayüzde parolalar ve gizli değerler**
>
> Kendi parolanızı istediğiniz zaman avatar menüsü -\> **Change password** (Parolayı değiştir) yoluyla değiştirin (tüm rollere açıktır); bu işlem diğer oturumlarınızı kapatır. **Settings** (Ayarlar) içinde saklanan gizli değerler yalnızca yazılabilir: değiştirmek için bir değer girin ya da mevcut değeri korumak için alanı boş bırakın. Kaydedilen kimlik bilgileri tarayıcıya hiçbir zaman geri gönderilmez.

## CashPilot'u güncelleme

Compose dosyası `drumsergio/cashpilot:X.Y` gibi bir ana.alt sürüm serisini sabitler, bu yüzden `pull` o serinin en yeni yamasını çeker:

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

`docker compose pull` en yeni yayımlanmış imajı çeker, `up -d` ise yalnızca imajı değişen konteynerleri yeniden oluşturur. Birlikte gelen compose dosyaları `pull_policy: always` ayarlar, bu yüzden yalın bir `docker compose up -d` bile önce en son imajı çeker.

**Panodan.** **Settings** (Ayarlar), **About and updates** (Hakkında ve güncellemeler) aynı iki komutu sizin için kısa ömürlü bir yardımcı konteynerden çalıştırır. Yardımcı, compose dosyalarınızı ve yanlarındaki `.env` dosyasını (ya da `--env-file` ile verdiğiniz dosyaları) okur, CashPilot'u başlattığınız kabuğu asla okumaz. Diyelim ki CashPilot'u `CASHPILOT_UI_PORT=8088 docker compose up -d` ile başlattınız. Güncelleme panoyu yeniden 8080'e taşırdı, bu yüzden bunun yerine durur ve nedenini size söyler. Bu değeri `.env` içine koyun, düğme çalışır.

> [!NOTE]
>
> **Yeniden derlemeniz **gerekmez****
>
> CashPilot, Docker Hub'da önceden derlenmiş çok mimarili imajlar yayımlar ([`drumsergio/cashpilot`](<https://hub.docker.com/r/drumsergio/cashpilot>), [`drumsergio/cashpilot-worker`](<https://hub.docker.com/r/drumsergio/cashpilot-worker>)). `docker compose build` / `--build` yalnızca `docker-compose.build.yml` ile bilerek kaynaktan derliyorsanız önemlidir. Normal kurulumlarda `pull` + `up -d` eksiksiz ve doğru güncelleme yöntemidir.

### Belirli bir sürümü sabitleme

Tam olarak tek bir sürümde kalmak için `docker-compose.yml` içindeki `X.Y` seri etiketini hem `drumsergio/cashpilot` hem de `drumsergio/cashpilot-worker` üzerinde tam bir `X.Y.Z` sürüm etiketiyle değiştirin (ikisinde de her zaman aynı etiket) ve `pull_policy: always` satırını kaldırın. Etiketlere [Docker Hub](<https://hub.docker.com/r/drumsergio/cashpilot/tags>) üzerinden göz atın.

Daha yeni bir seriye geçmek için iki etiketi de düzenleyin: önce arayüzün ana makinesinde, sonra her worker ana makinesinde. Önce [UPGRADING.md](<https://github.com/GeiserX/CashPilot/blob/main/UPGRADING.md>) dosyasını okuyun, çünkü 3.0 gibi büyük bir sürümün kendi adımları vardır.

### Güncellemeleri otomatikleştirme (isteğe bağlı)

Güncellemelerle uğraşmak istemiyorsanız bir zamanlayıcıyı aynı iki komuta yönlendirin, örneğin günlük bir cron girdisiyle:

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

Ya da CashPilot konteynerlerine karşı [Watchtower](<https://containrrr.dev/watchtower/>) veya [Diun](<https://crazymax.dev/diun/>) gibi bir otomatik güncelleyici çalıştırın. Bunlar isteğe bağlıdır. CashPilot bir güncelleyiciyle birlikte gelmez.

### Eski imajları temizleme

CashPilot bir imajı yalnızca bir [uygulama imajı güncellemesi](<https://geiserx.github.io/CashPilot/tr/image-updates/index.md>) onun yerini aldıktan sonra ve yalnızca ham Docker soketine sahip bir worker'da siler. Aksi halde her güncelleme ve her yeniden dağıtım önceki imajı diskte bırakabilir. Üç sunuculu bir test filosunda eski CashPilot ve kazanç uygulaması imajları toplam yaklaşık 3 GB tuttu. Bu, aynı ana makinedeki diğer programların genellikle geride bıraktığı miktarın yanında küçüktür, bu yüzden ana makinenin tamamına bakın:

```
docker system df
```

`Images` satırındaki `RECLAIMABLE` değeri, Docker'ın boşaltabileceği alandır.

**CashPilot bunu neden sizin için yapmıyor?** Worker, Docker'a soket proxy'si üzerinden ulaşır. Proxy, imajlar konusunda worker'ın yalnızca bir imajı çekmesine ve adıyla bir imajı okumasına izin verir, başka hiçbir şeye izin vermez. Worker ana makinenin imajlarını listeleyemez veya birini silemez. Bunu yapabilen bir worker, ana makinedeki diğer tüm programların imajlarını da görebilir ve silebilirdi. Bkz. [proxy'nin neleri reddettiği](<https://geiserx.github.io/CashPilot/tr/security-defaults/index.md#docker-socket-proxy>).

**Adım 1: sarkan (dangling) imajları kaldırın.** Sarkan bir imajın etiketi yoktur ve çalışan ya da durdurulmuş hiçbir konteyner onu kullanmaz. `X.Y` (compose dosyalarının sabitlediği gibi bir seri), `latest` veya bir digest gibi hareketli bir etiket üzerinden yapılan güncelleme geride tam olarak bunları bırakır:

```
docker image prune
```

Bu komut, hareketli bir etiket üzerinden yapılan güncellemeden önce çalıştırdığınız imajı da siler: o serinin yeni imajı geldiğinde eskisinin etiketi kalmaz. Geri dönüş yolunu korumak için güncellemeden önce tam sürümü not edin (kenar çubuğunun altı onu gösterir), böylece `drumsergio/cashpilot:<X.Y.Z>` imajını yeniden çekebilirsiniz. Ya da compose dosyasını tam bir `X.Y.Z` etiketine sabitleyin; o zaman eski imaj etiketini korur ve 2. adım geçerli olur.

Docker silmeden önce sorar. Bir cron girdisinde soruyu atlamak için `--force` ekleyin. Başka hiçbir şeyi değiştirmez:

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

> [!WARNING]
>
> **`-a` eklemeyin**
>
> `docker image prune -a`, sarkan ya da etiketli olsun, şu anda hiçbir konteynerin kullanmadığı her imajı siler. Buna bilerek durdurduğunuz yığınların imajları ve yerelde derlediğiniz, yeniden çekemeyeceğiniz imajlar da dahildir.

**Adım 2: eski sabitlenmiş etiketleri kaldırın.** Bir sürüme sabitlenmiş imaj, daha yenisine geçtikten sonra etiketini korur, bu yüzden `prune` onu atlar. Şu CashPilot imajları sabitlenmiştir:

| Depo | Onu ne sabitler |
| --- | --- |
| `drumsergio/cashpilot` | Compose dosyası (eski bir seri ya da sabitlediğiniz tam bir sürüm) |
| `drumsergio/cashpilot-worker` | Compose dosyası, yukarıdakiyle aynı |
| `drumsergio/cashpilot-tunnel` | Worker, worker sürümü başına bir etiket |
| `drumsergio/cashpilot-earnapp` | EarnApp katalog girdisi |
| `drumsergio/cashpilot-anyone` | Anyone Protocol katalog girdisi |

Kaldırdığınız bir hizmetin imajı için de aynısı geçerlidir: onu kaldırana kadar etiketi kalır. MystNodes veya ProxyBase gibi digest ile sabitlenmiş bir katalog imajı, yerini daha yenisi aldığında etiketini kaybeder, bu yüzden 1. adım onu zaten kapsar.

Önce hiçbir konteynerin kullanmadığı etiketleri listeleyin. Bu örnek worker imajı içindir. Tablodaki başka bir depo için `repo` değerini değiştirin:

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

Ardından her eski etiketi adıyla, teker teker kaldırın:

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

`-f` eklemeyin. Bu seçenek olmadan Docker, çalışan ya da durdurulmuş bir konteynerin hâlâ kullandığı bir imajı kaldırmayı reddeder ve `conflict: unable to delete` yazdırır. Bunu gördüğünüzde imajı tutun. Bir sürüm geri dönebilmek için çalıştırdığınız etiketi ve ondan önce çalıştırdığınız etiketi tutun. Yalnızca bu ikisinden eski etiketleri kaldırın.

Panodaki **Host disk** (Ana makine diski) sütunu, worker'ın `/data` dizinini barındıran dosya sistemindeki boş alanı gösterir. İmajlar genellikle aynı dosya sisteminde, Docker'ın veri kökü altında durur, ama her zaman değil. `docker info --format '{{.DockerRootDir}}'` Docker'ın veri kökünü gösterir. Yeni bir Docker Engine 29 kurulumunda varsayılan olan containerd imaj deposuyla imajlar bunun yerine containerd'nin kökü altında, normalde `/var/lib/containerd` içinde durur. `docker info --format '{{.Driver}}'`, containerd imaj deposu için `overlayfs`, klasik depo için `overlay2` yazdırır. Geçerli olan dizini barındıran dosya sistemindeki boş alanı kontrol edin.

## Desteklenen hizmetler

CashPilot, beş kategoride etkin veya beta durumundaki **60 hizmeti** destekler:

- **Bant genişliği paylaşımı** (19): pasif gelir için internet bant genişliğinizi paylaşın
- **DePIN** (16): merkeziyetsiz fiziksel altyapı ağları
- **GPU işlem gücü** (7): GPU'nuzu yapay zeka ve işlem yükleri için kiraya verin
- **Depolama** (3): merkeziyetsiz depolama ağlarında disk alanı paylaşın
- **Madencilik** (14): bir madenci dağıtın veya bir havuzu ödeme adresine göre izleyin ([Madencilik](<https://geiserx.github.io/CashPilot/tr/mining/index.md>))

Bunlardan **30** tanesi Docker ile otomatik olarak dağıtılabilir ve yönetilebilir. Katalog diğer 30 hizmeti de izler (19 tarayıcı veya masaüstü uygulaması, 7 GPU düğümü, 4 madencilik havuzu). CashPilot, bir toplayıcının bulunduğu yerlerde bunların bakiyelerini okur.

Kataloğun tamamına [Hizmet rehberleri](<https://geiserx.github.io/CashPilot/tr/guides/index.md>) bölümünden göz atın.

## Sonraki adımlar

- [Nasıl çalışır](<https://geiserx.github.io/CashPilot/tr/how-it-works/index.md>) -- Arayüz + worker ayrımı tasarımını anlayın
- [Filo yönetimi](<https://geiserx.github.io/CashPilot/tr/fleet/index.md>) -- Birden çok sunucuya dağıtın
- [Ev ağınızı koruma](<https://geiserx.github.io/CashPilot/tr/home-network-security/index.md>) -- Konteynerleri LAN'ınızdan uzak tutun ve gVisor'ın ne zaman yardımcı olduğunu öğrenin
- [Hizmet rehberleri](<https://geiserx.github.io/CashPilot/tr/guides/index.md>) -- Her hizmet için ayrıntılı kurulum talimatları
- [CashPilot'u tamamen kaldırma](<https://geiserx.github.io/CashPilot/tr/uninstall/index.md>) -- Oluşturduğu her şeyi kaldırın; baştan başlamak veya ayrılmak için
