Self-host Syncthing with Levelrail

Verified

Continuous, peer-to-peer file synchronization between your own devices, no cloud in between.

  • AuthorsyncthingVerified by Levelrail
  • LicenceMPL-2.0
  • Memory256 MiB
  • Archarm64
  • Services1

How to self-host Syncthing

  1. Pull the images

    One image is pulled on your server.

    Show images
    • lscr.io/linuxserver/syncthing:1.29.4
  2. Create the app

    One service starts in a single Compose app, with 2 named volume mounts for your data, on ports 8384, 22000.

  3. Fill in the secrets

    You do not have to fill in anything.

  4. Open it

    Without a domain the app gets an sslip.io address; add --domain SERVICE=HOST to use your own.

Syncthing requirements

Memory
About 256 MiB
Architectures
amd64 image published, arm64 tested
Ports
8384, 22000
Domain
Optional, an sslip.io address is used without one
Settings
none to fill in
License
MPL-2.0, copyleft license
  • Verified. Verified on arm64 with image tag 1.29.4. Our CI ran this exact image version and it answered on its health path. Evidence
  • Host ports. It publishes ports 8384, 22000 on the host, so open them in the VPS firewall only if you want that.

Install Levelrail first

On a server with Levelrail running, run the command above, or open the dashboard: Apps, New app, Browse templates, then Syncthing. New to Levelrail? Install it on a fresh VPS first.

docker pull ghcr.io/glincker/levelrail:latest

Then levelrail-cli login --device. See Getting started and the Syncthing docs page.

Deploy Syncthing your way

Every format below deploys the same pinned images. Pick the one that fits how you work.

Deploy Syncthing from the CLI

levelrail-cli templates deploy syncthing --name my-syncthing

Deploy Syncthing with the API

Create a token in the dashboard first. This one-click route deploys it as a trial app you can keep or remove.

curl -X POST -H "Authorization: Bearer $TOKEN" \
  https://levelrail.example.com/api/v1/service-templates/syncthing/deploy

Syncthing configuration

Syncthing services

ServiceImagePortsVolumes
syncthing lscr.io/linuxserver/syncthing:1.29.4 8384, 22000 syncthing_config -> /configsyncthing_data -> /data

Syncthing environment variables

The catalog lists no environment variables for this template.

Ports and volumes

Ports
8384, 22000
Volumes
2 named mounts: syncthing_config -> /config, syncthing_data -> /data

Syncthing FAQ

How much memory does Syncthing need?

The catalog lists about 256 MiB of memory for Syncthing.

Does Syncthing run on arm64?

For Syncthing, arm64 is tested; amd64 is image published.

What licence is Syncthing under?

Syncthing is licensed under MPL-2.0, which is copyleft, so changes you distribute must be shared under the same terms.

Does Syncthing need configuration before it starts?

No. The template fills in its own defaults.

Which ports does Syncthing use?

Syncthing listens on ports 8384 and 22000 inside the stack.

Where does Syncthing keep its data?

In named volumes: syncthing_config mounted at /config and syncthing_data mounted at /data.

Can I deploy Syncthing on Dokploy or Dokku?

The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list has an entry with the id syncthing for this app, so check that entry as well. Dokku deploys container images with its own commands, so the pinned image lscr.io/linuxserver/syncthing:1.29.4 is what you deploy there.

levelrail-cli templates deploy syncthing --name my-syncthing