Self-host Gopeed on a managed VPS: your download server

To self-host Gopeed on a managed VPS is to run your downloads on a server of your own, which keeps working while your computer is off, and which our teams keep up to date and monitor day and night. Gopeed is a free, open source download manager under the GPL-3.0 license, with a web interface and an API. This guide follows its official Docker image at version 1.9.3, and we ran every command on a Simafri VPS before writing it: installation with Docker Compose, a password on the web interface, HTTPS, a first download, backups, a restore and an upgrade.

Simon Vasconcelos Lee By Published on 2 December 202610 minute read

All guides

In short

  1. The GPL-3.0 license lets you run Gopeed for yourself, your family or your team with no license to buy.
  2. Install it with Docker Compose: the official image liwei2633/gopeed pinned to v1.9.3, with two folders next to compose.yaml, one for your downloads and one for its database, and port 9999 of the container published on 127.0.0.1 behind an HTTPS reverse proxy.
  3. Put the username and a random password in a .env file: with GOPEED_PASSWORD set, the web interface asks for a sign-in and the API refuses every request without a token.
  4. Keep downloads inside the downloads folder with GOPEED_WHITEDOWNLOADDIRS, and get your files from the server over SFTP.
  5. Back up with two tar archives, Gopeed stopped for a few seconds. To update, change the image tag, then pull and recreate the container.

What Gopeed does

Gopeed, short for Go Speed, is a download manager written in Go, with an interface built in Flutter. It runs on Windows, macOS, Linux, Android and iOS, and as a web version for servers, which is the one in the Docker image.

On a server, Gopeed keeps downloading when your computer is off, at the speed of the server’s connection, and the files wait for you in a folder you can reach over SFTP.

What the GPL-3.0 license allows

Gopeed is published under the GNU General Public License, version 3 (GPL-3.0). You can use it free of charge, copy it and modify it. If you distribute a modified version, you distribute its source code under the same license. Running the official image unchanged, as this guide does, asks nothing more of you. The software is provided without warranty.

The resources to plan for

Gopeed is a single program, without a database server beside it. Here is what we measured on our test VPS, with 2 vCPU and 4 GB of memory:

Server size therefore depends on the volume of files you keep and on the other applications you run beside Gopeed. On a managed VPS, tell us how much you download and we will recommend the right size, disk included.

Installing with Docker Compose

The official image, liwei2633/gopeed, contains the web version of Gopeed: the download engine, its API and the web interface, served on port 9999. On a server with Docker Engine and its Compose plugin, installed from Docker’s repository for Ubuntu, create the folder of the downloads and the folder of the database:

Terminal, as root
mkdir -p /opt/gopeed/downloads /opt/gopeed/storage

Then put this compose.yaml in /opt/gopeed, based on the Docker commands of the installation page and the docker-compose.yml of the project:

compose.yaml
services:
  gopeed:
    image: liwei2633/gopeed:v1.9.3
    restart: unless-stopped
    environment:
      GOPEED_USERNAME: ${GOPEED_USERNAME:?set GOPEED_USERNAME in .env}
      GOPEED_PASSWORD: ${GOPEED_PASSWORD:?set GOPEED_PASSWORD in .env}
      GOPEED_WHITEDOWNLOADDIRS: /app/Downloads,/app/Downloads/*
    volumes:
      - ./downloads:/app/Downloads
      - ./storage:/app/storage
    ports:
      - "127.0.0.1:8118:9999"

The username and the password go in a .env file next to it, which Docker Compose reads on its own. Create it readable by root only, then start Gopeed:

Terminal, in /opt/gopeed
umask 077
printf 'GOPEED_USERNAME=admin\nGOPEED_PASSWORD=%s\n' "$(openssl rand -hex 16)" > .env
umask 022
docker compose up -d
docker compose ps

Gopeed starts within a few seconds. To check that it is ready and that its API is closed without a sign-in:

Terminal, in /opt/gopeed
docker compose logs gopeed | grep 'Server start success'
curl -s http://127.0.0.1:8118/ | grep -o '<title>[^<]*</title>'
curl -s -o /dev/null -w '%{http_code}\n' http://127.0.0.1:8118/api/v1/tasks

The first command returns “Server start success on http://[::]:9999”, the second the title of the interface, <title>Gopeed</title>, and the third 401: without a token, the API answers “unauthorized”.

HTTPS: the reverse proxy

The container serves Gopeed over HTTP, on port 8118 of the server. HTTPS is handled by a reverse proxy in front of it. We tested Caddy, installed from its official Debian and Ubuntu repository: it obtains the Let’s Encrypt certificate itself and renews it. Add this block to its configuration:

/etc/caddy/Caddyfile
gopeed.example.com {
	reverse_proxy 127.0.0.1:8118
}
Terminal, as root
systemctl reload caddy
curl -sI https://gopeed.example.com/
curl -s -o /dev/null -w '%{http_code}\n' https://gopeed.example.com/api/v1/tasks

The sign-in and a first download

Open your address: Gopeed shows its sign-in page, with a Username field, a Password field and a Login button. The username is admin, and the password was generated in .env, which this command displays:

Terminal
grep GOPEED_PASSWORD /opt/gopeed/.env

You land on the task list, with a tab for running downloads, a tab for finished ones, and Tasks, Extensions and Settings in the side menu. The round + button at the bottom right is where you add a download.

On our test VPS, a wrong password was refused with a 401. We then downloaded a small public file of a fixed version, the LICENSE of Gopeed at v1.9.3, 35,149 bytes, through the same API the interface uses: the task was marked done, it appeared in the tab of finished downloads, and the file in /opt/gopeed/downloads had the same SHA-256 checksum as the original. We also changed a setting, the number of downloads that run at once, from 5 to 3, to check the backups further down.

Getting your files

Finished files are in /opt/gopeed/downloads on the server: copy them to your computer over SFTP, with the SSH access of your VPS. A folder chosen in Settings, or in a download category, must stay inside /app/Downloads, the only one allowed by GOPEED_WHITEDOWNLOADDIRS.

Gopeed also serves each finished file at an address of the form /fs/tasks/<task ID>/<file name>. On our test VPS, that address answered without a sign-in: the task ID, a random string of 21 characters, works like the key of a shared link. Treat such an address as you would a shared link, and remove the task from Gopeed once you no longer need it there.

A sign-in lasts seven days, according to the source code of the server, and a restart of Gopeed asks for a new one.

Backups

Gopeed keeps its data in two folders: storage, with the gopeed.db database of your settings and tasks, and downloads, with your files. Add .env and compose.yaml, and you can rebuild the installation anywhere. Gopeed keeps its database open while it runs, so the copy is made with the container stopped, for a few seconds. With a umask of 077, the archives are readable by root only:

Terminal, in /opt/gopeed
mkdir -p -m 700 backups
docker compose stop
umask 077
tar -czf backups/gopeed-$(date +%F).tar.gz storage .env compose.yaml
tar -czf backups/downloads-$(date +%F).tar.gz downloads
umask 022
docker compose start

The first archive is small, 1.9 KB on our test VPS; the second grows with your files, so leave it out if your downloads are copies of files you can fetch again. Schedule this copy and send it off the server. Stored on the disk, the archives are also included in the server’s nightly backups.

Restoring

On the same installation, or on a new one where the archive has given back .env and compose.yaml, stop Gopeed, remove the two folders, extract the archives, then start it again:

Terminal, in /opt/gopeed
docker compose stop
rm -rf storage downloads
tar -xzf backups/gopeed-2026-11-20.tar.gz storage && tar -xzf backups/downloads-2026-11-20.tar.gz && docker compose start

The && chain stops at the first error: on our test VPS, a truncated archive ended with “Error is not recoverable: exiting now”, and nothing was started. We then tested the whole cycle: both folders removed, Gopeed started on an empty database, with no task and the default settings, then stopped and restored. The task of the LICENSE came back as done, the setting was back at 3, the file had the same checksum, and the sign-in worked at once.

Updates

Gopeed publishes its releases on GitHub, and the image follows on Docker Hub with the same tags; tags such as v2.0.0-beta.4 are previews. This guide pins v1.9.3, the latest release when we tested it: check the releases page for a newer one before you install. Take a backup, change the image tag in compose.yaml, then pull the new image and recreate the container:

Terminal, in /opt/gopeed
docker compose pull
docker compose up -d
docker compose ps

Who does what on a managed VPS

Self-hosting means running the server on top of the application. On a managed VPS, our teams take charge of the server and proactively monitor your instance; Gopeed remains your software, with your downloads and your settings.

TopicOur teamsYou
The serverSystem and security updates, server interventions includedThe timing that suits you
MonitoringServer monitored 24/7, with intervention without waiting for your callYour downloads and your settings in Gopeed
GopeedProactive monitoring: errors, slowdowns and disk space spotted, fix recommendedIts installation, updates, extensions and settings, which you apply, yourself or through your AI assistant
AccessThe server that carries it, monitored and backed upThe password in .env and the files you share
BackupsEvery night, encrypted and kept off the machine; restores includedGopeed’s own archives, and the restore request, when you need one
MigrationYour current server migrated, free of chargeThe timing of the switch

If you would rather have our teams work inside the application itself, that service is billed by the hour or at a fixed rate, with an estimate shared before the work starts.

Gopeed, on a server run for you

With a Simafri Managed VPS, our teams keep your Gopeed instance’s server up to date, monitor it day and night and step in without waiting for your call; they also proactively monitor your instance and recommend useful fixes, which you apply, yourself or through your AI assistant. Backups are encrypted every night and kept off the machine, restores are included, and migrating your current server is free.

Explore Managed VPS

Frequently asked questions

Is Gopeed free?

Yes. Gopeed is under the GPL-3.0 license: you can run it for yourself, your family or your team with no license to buy. What remains is the cost of the server that runs it.

How do I install Gopeed with Docker Compose?

Use the liwei2633/gopeed image pinned to a version in a compose.yaml, with a downloads folder mounted on /app/Downloads and a storage folder on /app/storage. Put GOPEED_USERNAME and GOPEED_PASSWORD in a .env file, publish the container port 9999 on 127.0.0.1, run docker compose up -d, and put an HTTPS reverse proxy in front.

How do I put a password on the Gopeed web interface?

Set GOPEED_USERNAME and GOPEED_PASSWORD in the environment of the container. Gopeed then shows a sign-in page, and its API answers 401 to any request without the token that sign-in returns. Without a password, anyone who reaches the address can use it.

Where does Gopeed in Docker save downloaded files?

In /app/Downloads inside the container, the folder Gopeed sets on its first start in Docker. Mount a folder of the server there, such as /opt/gopeed/downloads, then fetch your files over SFTP.

How much memory does Gopeed need?

Very little. On our test VPS, the container used about 30 MB just after a download and about 14 MB at rest, and the image takes about 45 MB of disk. What to plan for is the disk space of your downloads.

How do I back up Gopeed in Docker?

Stop the container, archive the storage folder, which holds gopeed.db with your settings and tasks, with .env and compose.yaml, archive the downloads folder if you want to keep the files, then start it again. Restore by extracting the archives into removed folders, Gopeed stopped.

How do I update Gopeed in Docker?

Take a backup, change the image tag in compose.yaml, then run docker compose pull and docker compose up -d. Your tasks and settings stay in the storage folder: on our test VPS, they came through the upgrade from v1.9.2 to v1.9.3.

Does a managed VPS cover Gopeed?

A managed VPS covers the server: system, security, monitoring and backups. Our teams also proactively monitor your instance and recommend useful fixes, which you apply. Work inside the application is billed by the hour or at a fixed rate.

Contact us