Guides
Contents

Install the server (Docker)

Run DownloadPulse as a Docker container on a server or NAS: image tags, a complete compose.yaml, the docker run equivalent, environment variables, permissions and the health check.

Applies to
  • Server
On this page

The DownloadPulse server is one Docker container that you open in a browser. It brings its own download engines, so there is nothing else to install or connect. This page takes you from an empty host to a running container. The setup wizard takes over from there.

  • A Linux host with Docker and Docker Compose. Images are published for linux/amd64 and linux/arm64.
  • Three folders on the host: one for the database, one for the configuration and one for downloads.
  • A free port on the host. The container listens on 8095.

The image is ghcr.io/xipher-zero/downloadpulse.

Tag What it points to
latest The newest release. It moves to each new release.
v1.0.1, … One release, fixed. It never changes.

Each image is built once and tagged by its source commit (sha-<commit>). A release tag such as v1.0.1, and latest, are only ever pointed at an image that has already passed every required check.

Use a version tag when you want to choose when you upgrade. Use latest when you want each new release with your next pull.

  1. Create a folder for the stack and change into it:

    bash
    mkdir -p ~/downloadpulse && cd ~/downloadpulse
  2. Create the host folders for data, configuration and downloads. The example below uses unRAID-style paths. Use paths that suit your system.

    bash
    mkdir -p /mnt/user/appdata/downloadpulse/data /mnt/user/appdata/downloadpulse/config /mnt/user/downloads
  3. Save this as compose.yaml:

    yaml
    # DownloadPulse server. Adapt the host paths, PUID/PGID and TZ.
    services:
      downloadpulse:
        image: ghcr.io/xipher-zero/downloadpulse:latest
        container_name: downloadpulse
        restart: unless-stopped
        ports:
          - "8095:8095"
        volumes:
          - /mnt/user/appdata/downloadpulse/data:/app/data
          - /mnt/user/appdata/downloadpulse/config:/app/config
          - /mnt/user/downloads:/download
        environment:
          - PUID=99
          - PGID=100
          - TZ=Europe/Berlin
          - CONFIG_PATH=/app/config/config.json
          - DB_PATH=/app/data/downloadpulse.db
          # Only behind an HTTPS reverse proxy: the address people use.
          # - PUBLIC_BASE_URL=https://download.example.com
          # Only for other websites that must call the API with a signed-in session.
          # - CORS_ORIGINS=https://dashboard.example.com
        healthcheck:
          test: ["CMD", "curl", "-f", "http://localhost:8095/api/health"]
          interval: 30s
          timeout: 10s
          retries: 3
          start_period: 20s
  4. Start the container:

    bash
    docker compose up -d
  5. Open http://<your-server-ip>:8095 in a browser. The setup wizard opens. Continue with First run.

To keep an address that tools already use, change only the host side of the mapping. For example, "8080:8095" keeps DownloadPulse at port 8080 on the host. The port inside the container is always 8095. You set the listening port in the Docker port mapping, not in the app.

Tip: Use bridge networking with an explicit port mapping, as shown above. Use host networking only when your platform specifically requires it.

This command matches the compose file above:

bash
docker run -d \
  --name downloadpulse \
  --restart unless-stopped \
  -p 8095:8095 \
  -e PUID=1000 \
  -e PGID=1000 \
  -e TZ=America/Phoenix \
  -e CONFIG_PATH=/app/config/config.json \
  -e DB_PATH=/app/data/downloadpulse.db \
  -v /path/to/downloadpulse/config:/app/config \
  -v /path/to/downloadpulse/data:/app/data \
  -v /path/to/downloads:/download \
  ghcr.io/xipher-zero/downloadpulse:latest

Replace the paths, the UID/GID and the time zone with your own. The image has its own health check built in, so docker ps shows the container as healthy or unhealthy without extra options.

Container path What it holds
/app/data The database (downloadpulse.db), scheduled backups (/app/data/backups by default), the bundled Usenet service’s own state, and the download engine’s session and log files.
/app/config The configuration file, config.json.
/download Your downloads. A new server installation offers /download as its download folder.

Keep /app/data and /app/config on persistent storage. They are the installation. If you lose them, you lose your settings, accounts and history.

Inside the app, /download is the folder as DownloadPulse sees it inside the container. The volume mapping connects it to a real folder on your host, NAS or share. If you mount more folders, you can choose them as download destinations by their container paths.

Variable Default What it does
PUID 99 The user ID DownloadPulse runs as. PUID=0 runs it as root, deliberately.
PGID 100 The group ID DownloadPulse runs as.
UMASK 002 The permission mask for new files and folders. With 002, new folders are 0775 and new files 0664.
TZ UTC The time zone the interface shows times in, for example Europe/Berlin.
CONFIG_PATH /app/config/config.json Where the configuration file is kept.
DB_PATH /app/data/downloadpulse.db Where the database is kept.
PUBLIC_BASE_URL empty The exact HTTPS address people use when DownloadPulse is behind an HTTPS reverse proxy, for example https://download.example.com. Leave it empty otherwise.
CORS_ORIGINS empty Other websites allowed to call the API with a signed-in session. Comma-separated, each one exact (scheme://host[:port]). Leave it empty unless you need it.
FORWARDED_ALLOW_IPS not set The reverse proxy addresses trusted to pass on the client’s address and scheme. Set it to your proxy’s address or network.
CHOWN_DOWNLOADS_RECURSIVE false true hands every existing file under /download to PUID:PGID at each start. Otherwise only the /download folder itself is.

Set PUBLIC_BASE_URL only when DownloadPulse is reached through an HTTPS reverse proxy. Give the origin alone, in https://host[:port] form, with no path, query, fragment or credentials. DownloadPulse uses it to check where browser requests come from, to decide on HTTPS-only cookies and to build the OpenID Connect callback address. Set it even if you use only Username & Password.

The same setting exists in the app under Settings › Authentication. When both are set, PUBLIC_BASE_URL wins, and the app shows it read-only. Direct access on your LAN keeps working.

CORS_ORIGINS is not a replacement for PUBLIC_BASE_URL. It lists other websites that may call the DownloadPulse API from a browser. Because every origin listed is trusted with a signed-in session, list each one exactly.

Warning: CORS_ORIGINS=* is refused. DownloadPulse does not start until you remove it or list explicit origins.

If a reverse proxy that is not on the same machine passes on the client’s address and scheme, set FORWARDED_ALLOW_IPS to that proxy’s address or network. Do not set it to * on an interface that untrusted clients can reach. If you leave it unset, DownloadPulse treats the proxy as the client for sign-in throttling. People behind the same proxy then share one budget of sign-in attempts, but no one can get around sign-in that way.

See Authentication for reverse-proxy and OpenID Connect details.

At each start, before DownloadPulse runs, the container:

  1. Creates a user and group with your PUID and PGID if they do not exist yet.
  2. Hands /app/data and /app/config, and everything inside them, to PUID:PGID.
  3. Hands the /download folder itself to PUID:PGID. It changes what is inside only when CHOWN_DOWNLOADS_RECURSIVE=true.
  4. Sets /app/data and /app/config to mode 700, and config.json to 600.
  5. Starts DownloadPulse as that user, with your UMASK.

If a step fails, for example on an NFS share that does not allow ownership changes, the container logs a warning and starts anyway. DownloadPulse’s own storage checks then report the problem. The program files stay owned by the system, so the account DownloadPulse runs as can never change them.

Pick PUID and PGID to match the programs that use your downloads, such as Sonarr, Radarr or a media server. With the default UMASK=002, new files can be read by everyone, but only the PUID user and the PGID group can change or delete them. If another program must move or delete downloads, give it the same group or change UMASK.

The container log shows who it runs as, in a line like this:

[entrypoint] PUID=99 PGID=100 → running as appuser

Check it with docker logs downloadpulse.

The defaults PUID=99 and PGID=100 and the example’s /mnt/user/appdata/... paths follow the unRAID layout. On another NAS, use the UID and GID that own your shares, and paths on a persistent volume.

/api/health is a lightweight check that needs no sign-in:

bash
curl -f http://localhost:8095/api/health

A healthy container answers:

json
{"status":"ok","version":"1.0.1"}

The check answers as long as the app is running. It does not test your premium services or the download engines. Use it for Docker and for uptime monitors.

It answers 503 with "status":"restore_unresolved" if a restore could neither finish nor be undone. Restart the container once its storage accepts changes again; starting up puts the previous state back.

Note: Docker does not restart a container just because its health check reports it unhealthy.

A new installation does not ask anyone to sign in until the setup wizard creates your Administrator (the Server path) or you set a password (the Standalone path). While no sign-in is configured, DownloadPulse answers only at addresses that name it directly:

  • its IP address, for example http://192.168.1.20:8095;
  • localhost;
  • a name under .local, .home.arpa, .internal or .localhost;
  • the HTTPS address set as PUBLIC_BASE_URL.

Any other host name, such as a bare hostname or a .lan name, is refused with “Forbidden authority”. To use one, set up sign-in first.

If people or devices you do not fully trust can reach DownloadPulse, turn on sign-in before you expose it beyond your trusted network. See Server deployment and Authentication.

Open DownloadPulse in a browser. The setup wizard opens by itself. Follow the Server or Standalone path in First run.