Skip to main content
A distributed file and object store with an S3 gateway, built for billions of small files. This page describes the Levelrail template for SeaweedFS (Storage). It deploys the services below as one Docker Compose app on your own server. Project site: https://github.com/seaweedfs/seaweedfs/wiki. Recommended memory: about 1024 MiB.

Services, ports and volumes

Environment variables

Passwords and keys marked as generated are created for you when the app is deployed and stored as secrets. Values are not shown here.

Security and requirements

Level: Standard. What this template needs:
  • Publishes ports directly on the host (s3, seaweedfs): 8333:8333, 8888:8888, 9333:9333.
  • Passwords and keys are generated at deploy time (s3): S3_ACCESS_KEY, S3_SECRET_KEY.
  • Stores data in named volumes (seaweedfs): seaweedfs_data.
What Levelrail adds around it:
  • Automatic HTTPS and an ingress shield in front of every domain.
  • Secrets are generated, stored encrypted and masked in logs and the UI.
  • Named volumes can be backed up and restored.
  • Deploys are gated on the health check before traffic switches.
  • One-step rollback to the previous revision.
  • Exposure report shows what is reachable from outside.
  • Host firewall rules managed for published ports.

Reach the S3 API and use it as a backup target

The master UI (port 9333) is the seaweedfs service. The S3 API is its own s3 service on port 8333, so give it a separate domain (for example s3.example.com) in the app’s domain settings and it gets its own HTTPS route. To use it as a backup target, add a storage target with:
  • Endpoint: https://s3.example.com (or the private address http://<host>:8333 on the same host; this needs APP_NOTIFY_ALLOW_PRIVATE_NETWORKS=true).
  • Access key and secret key: the generated S3_ACCESS_KEY and S3_SECRET_KEY of the s3 service (read them from the app’s secrets).
  • Path-style addressing on, region any value (for example us-east-1).
  • Create the bucket first, for example with aws --endpoint-url https://s3.example.com s3 mb s3://backups.
See Backups and storage for adding the target.

Deploy SeaweedFS with Levelrail

In the dashboard, open Apps, choose New app, then Browse templates, and select SeaweedFS. Review the Compose body and deploy. With the CLI:
See the service template catalog for how templates work, and Getting started if you have not installed Levelrail yet.

More Storage templates

All templates are listed in the self-host gallery.
Last modified on November 2, 2026