Install

Run what you need

Every Beacon app ships its own compose file, like Sonarr and Radarr. Run one on its own, or put the ones you want in a single file. The examples below go from Pilot and Haul up to the full stack.

Each link is that app's standalone compose file.

Images tagged :latest are the newest release. For every change as soon as it's merged, use :main instead.

One folder for media and downloads

Give every app the same host folder, mounted at /data. The apps create this layout inside it: the media folders on first start, the torrents folders with the first download.

/data
/data
├── torrents
│   ├── tv        # Haul saves Pilot's downloads here (category "tv")
│   └── movies    # …and Prism's here (category "movies")
└── media
    ├── tv        # Pilot's library
    └── movies    # Prism's library
  • Instant imports. Downloads and the library share one mount, so an import is a hardlink: no copying, and no extra disk space while the torrent seeds. Separate mounts such as /tv and /downloads always copy, even on the same disk.
  • No path mappings. Every app sees the same paths, so the path Haul reports is the path Pilot opens.
  • Permissions. The apps run as uid/gid 1000. Create the folder first and give it to them: sudo mkdir -p /srv/media && sudo chown 1000:1000 /srv/media. Docker otherwise creates a missing folder as root and imports fail.
  • Config goes in a separate folder per app (/opt/beacon/<app> below). Keep it on a local disk, not a network share.

Using a NAS, keeping your existing library folders, or checking that imports really are hardlinks: see the storage & hardlinks guide.

Pilot + Haul

TV shows and a torrent client: the Beacon version of Sonarr and qBittorrent.

docker-compose.yml
# docker-compose.yml: Pilot + Haul, the Sonarr + qBittorrent of Beacon
services:
  pilot:
    image: ghcr.io/beacon-stack/pilot:latest
    container_name: pilot
    restart: unless-stopped
    ports:
      - "8383:8383"
    environment:
      TZ: UTC
      PILOT_PULSE_URL: ""           # no Pulse in this setup
    volumes:
      - /opt/beacon/pilot:/config
      - /srv/media:/data            # same folder for every app

  haul:
    image: ghcr.io/beacon-stack/haul:latest
    container_name: haul
    restart: unless-stopped
    ports:
      - "8484:8484"
      - "6881:6881/tcp"
      - "6881:6881/udp"
    environment:
      TZ: UTC
      HAUL_TORRENT_DOWNLOAD_DIR: /data/torrents
      HAUL_PULSE_URL: ""
    volumes:
      - /opt/beacon/haul:/config
      - /srv/media:/data
  1. Run docker compose up -d.
  2. Open Pilot at http://<host>:8383. Under Settings → Download Clients, add Haul with URL http://haul:8484 (apps in one compose file reach each other by service name). No API key is needed between apps on the same network.
  3. Add your indexers in Pilot, then add a series. Pilot already has a TV library at /data/media/tv and default quality profiles.

Pilot + Prism + Haul

Add movies. Prism uses the same Haul and the same /data.

docker-compose.yml
# docker-compose.yml: Pilot + Prism + Haul
services:
  pilot:
    image: ghcr.io/beacon-stack/pilot:latest
    container_name: pilot
    restart: unless-stopped
    ports: ["8383:8383"]
    environment:
      TZ: UTC
      PILOT_PULSE_URL: ""
    volumes:
      - /opt/beacon/pilot:/config
      - /srv/media:/data

  prism:
    image: ghcr.io/beacon-stack/prism:latest
    container_name: prism
    restart: unless-stopped
    ports: ["8282:8282"]
    environment:
      TZ: UTC
      PRISM_PULSE_URL: ""
    volumes:
      - /opt/beacon/prism:/config
      - /srv/media:/data

  haul:
    image: ghcr.io/beacon-stack/haul:latest
    container_name: haul
    restart: unless-stopped
    ports: ["8484:8484", "6881:6881/tcp", "6881:6881/udp"]
    environment:
      TZ: UTC
      HAUL_TORRENT_DOWNLOAD_DIR: /data/torrents
      HAUL_PULSE_URL: ""
    volumes:
      - /opt/beacon/haul:/config
      - /srv/media:/data

Add Haul to both Pilot and Prism as in example 1. Each adds its own indexers. If that's one step too many, example 3 lets Pulse do it once for both.

The full stack, with Pulse

Pulse holds your indexers, quality profiles and download clients in one place and hands them to Pilot and Prism. Haul registers itself, so nobody adds it by hand. The apps share one key through a .env file.

.env
# .env, next to docker-compose.yml
BEACON_API_KEY=paste-the-output-of: openssl rand -hex 32
docker-compose.yml
# docker-compose.yml: everything, wired together by Pulse
x-pulse-client: &pulse-client
  depends_on:
    pulse:
      condition: service_healthy

services:
  pulse:
    image: ghcr.io/beacon-stack/pulse:latest
    container_name: pulse
    restart: unless-stopped
    ports: ["9696:9696"]
    environment:
      TZ: UTC
      PULSE_AUTH_API_KEY: ${BEACON_API_KEY}
      PULSE_SERVER_EXTERNAL_URL: http://pulse:9696
    volumes:
      - /opt/beacon/pulse:/config
    healthcheck:
      test: ["CMD", "/app/pulse", "healthcheck"]
      interval: 15s
      start_period: 20s

  pilot:
    <<: *pulse-client
    image: ghcr.io/beacon-stack/pilot:latest
    container_name: pilot
    restart: unless-stopped
    ports: ["8383:8383"]
    environment:
      TZ: UTC
      PILOT_PULSE_URL: http://pulse:9696
      PILOT_PULSE_API_KEY: ${BEACON_API_KEY}
      ADVERTISE_HOST: pilot         # how Pulse reaches Pilot
    volumes:
      - /opt/beacon/pilot:/config
      - /srv/media:/data

  prism:
    <<: *pulse-client
    image: ghcr.io/beacon-stack/prism:latest
    container_name: prism
    restart: unless-stopped
    ports: ["8282:8282"]
    environment:
      TZ: UTC
      PRISM_PULSE_URL: http://pulse:9696
      PRISM_PULSE_API_KEY: ${BEACON_API_KEY}
      ADVERTISE_HOST: prism
    volumes:
      - /opt/beacon/prism:/config
      - /srv/media:/data

  haul:
    <<: *pulse-client
    image: ghcr.io/beacon-stack/haul:latest
    container_name: haul
    restart: unless-stopped
    ports: ["8484:8484", "6881:6881/tcp", "6881:6881/udp"]
    environment:
      TZ: UTC
      HAUL_TORRENT_DOWNLOAD_DIR: /data/torrents
      HAUL_PULSE_URL: http://pulse:9696
      HAUL_PULSE_API_KEY: ${BEACON_API_KEY}
      ADVERTISE_HOST: haul          # Pilot and Prism reach Haul here
    volumes:
      - /opt/beacon/haul:/config
      - /srv/media:/data
  1. Run docker compose up -d. Pilot, Prism and Haul register with Pulse within a few seconds.
  2. Open Pulse at http://<host>:9696 and add your indexers there. Pilot and Prism pick them up, along with Haul as their download client.

Haul behind a VPN

Send only torrent traffic through a Gluetun VPN container; everything else stays on your network. These are the changes to example 3.

docker-compose.yml (changes)
# Changes to the full-stack file to send Haul's traffic through a VPN.
# Gluetun supports 30+ providers: https://github.com/qdm12/gluetun-wiki

# 1. Pin the network's subnet so the VPN firewall can allow it.
networks:
  default:
    ipam:
      config:
        - subnet: 172.28.0.0/16

services:
  # 2. Add the VPN container. Haul's ports move here.
  vpn:
    image: qmcgaw/gluetun:latest
    container_name: vpn
    restart: unless-stopped
    cap_add: [NET_ADMIN]
    devices: ["/dev/net/tun:/dev/net/tun"]
    ports: ["8484:8484", "6881:6881/tcp", "6881:6881/udp"]
    environment:
      VPN_SERVICE_PROVIDER: private internet access
      OPENVPN_USER: your-vpn-username
      OPENVPN_PASSWORD: your-vpn-password
      SERVER_REGIONS: Netherlands
      FIREWALL_INPUT_PORTS: "8484,8191"            # Haul, FlareSolverr
      FIREWALL_OUTBOUND_SUBNETS: "172.28.0.0/16"   # so Haul can reach Pulse
      HTTP_CONTROL_SERVER_ADDRESS: ":8000"         # for Pulse's VPN panel
      HTTPPROXY: "on"                              # Pulse's indexer searches; not published
    volumes:
      - /opt/beacon/gluetun:/gluetun
    configs:
      - source: gluetun-auth
        target: /gluetun/auth/config.toml

  # 3. Run Haul inside the VPN's network. Remove its ports: line.
  haul:
    network_mode: service:vpn
    depends_on:
      vpn:
        condition: service_healthy
      pulse:
        condition: service_healthy
    environment:
      ADVERTISE_HOST: vpn           # Haul is now reached through the VPN
      # ...the rest of Haul's settings stay the same

  # 4. Optional: FlareSolverr, for indexers behind Cloudflare. In the
  #    VPN's network, so Cloudflare sees the VPN's IP, not your home IP.
  flaresolverr:
    image: ghcr.io/flaresolverr/flaresolverr:latest
    container_name: flaresolverr
    restart: unless-stopped
    network_mode: service:vpn
    depends_on:
      vpn:
        condition: service_healthy

  # 5. Pulse shows the VPN, and can rotate its IP or change its region.
  #    Its indexer searches and .torrent downloads go through the VPN too;
  #    if the VPN is down they fail rather than use your home IP.
  pulse:
    environment:
      PULSE_DASHBOARD_GLUETUN_URL: http://vpn:8000
      PULSE_DASHBOARD_GLUETUN_API_KEY: ${GLUETUN_API_KEY}
      PULSE_DASHBOARD_GLUETUN_SERVERS_DIR: /gluetun-servers
      PULSE_FLARESOLVERR_URL: http://vpn:8191
      PULSE_SCRAPER_PROXY_URL: http://vpn:8888
      # ...the rest of Pulse's settings stay the same
    volumes:
      - /opt/beacon/gluetun/servers:/gluetun-servers:ro   # region list

# 6. What Pulse may do on the VPN's control server. Status is open to
#    the network; anything that changes the VPN needs the key.
configs:
  gluetun-auth:
    content: |
      [[roles]]
      name = "pulse-status"
      routes = ["GET /v1/version", "GET /v1/publicip/ip", "GET /v1/portforward",
                "GET /v1/openvpn/portforwarded", "GET /v1/openvpn/settings",
                "GET /v1/openvpn/status", "GET /v1/dns/status"]
      auth = "none"

      [[roles]]
      name = "pulse-control"
      routes = ["PUT /v1/openvpn/status", "GET /v1/vpn/settings", "PUT /v1/vpn/settings"]
      auth = "apikey"
      apikey = "${GLUETUN_API_KEY}"

If your provider supports port forwarding, set VPN_PORT_FORWARDING: "on", VPN_PORT_FORWARDING_LISTENING_PORT: "6881" and FIREWALL_VPN_INPUT_PORTS: "6881" on the VPN container for better speeds.

Put GLUETUN_API_KEY in your .env file, set to any long random string (for example the output of openssl rand -hex 24). Pulse uses it to rotate the VPN's IP and change its region from the dashboard.

One command, unchanged app files

Rather than copying services into one big file, you can keep each app's own compose file as it ships and list them in a small top-level file. Docker Compose (v2.20 or later) runs them as one project, so they reach each other by name, as in the examples above.

docker-compose.yml
# docker-compose.yml, in a folder next to the apps' own files:
#
#   beacon/
#   ├── docker-compose.yml        <- this file
#   ├── pilot/docker-compose.yml  <- Pilot's file, downloaded unchanged
#   └── haul/docker-compose.yml   <- Haul's file
include:
  - pilot/docker-compose.yml
  - haul/docker-compose.yml
  # - prism/docker-compose.yml   # add apps as you go
  # - pulse/docker-compose.yml
  1. Download each app's compose file (links at the top of this page) into its own folder.
  2. In each one, set the two host paths. The /data path must be the same folder in every file.
  3. To connect the apps, fill in the settings each file marks as optional. With Pulse, set *_PULSE_URL to http://pulse:9696, the API key, and ADVERTISE_HOST to the service's name (pilot, haul…); in Pulse's file set PULSE_SERVER_EXTERNAL_URL to http://pulse:9696. Without Pulse, add Haul in Pilot's Settings as http://haul:8484.
  4. Run docker compose up -d next to the top-level file. To add an app later, add its line and run it again.

Keeping each app in its own compose file

Running each app's own compose file, maybe on different machines, works too. Apps in separate compose projects can't reach each other by name, so use the host's address instead:

environment
# In each app's own compose file (Pulse on 192.168.1.10):
PILOT_PULSE_URL: http://192.168.1.10:9696
PILOT_PULSE_API_KEY: <Pulse's API key>
ADVERTISE_HOST: 192.168.1.10        # the address of the host running Pilot

# In Pulse's compose file:
PULSE_SERVER_EXTERNAL_URL: http://192.168.1.10:9696
  • Download client: add Haul as http://192.168.1.10:8484, the same as you would add qBittorrent to Sonarr.
  • Same files, same paths: every app must see the same files at /data. On one host, use the same folder. On different hosts, mount the same NAS share on each and use it as /data; over NFS imports are still hardlinks. See the storage & hardlinks guide.