Self-host SFTPGo with Docker
An SFTP, FTP/S, and WebDAV server with a web admin UI and per-user storage backends.
This page describes the Levelrail template for SFTPGo (Storage). It deploys the services below as one Docker Compose app on your own server.
Project site: https://docs.sftpgo.com/latest/.Recommended memory: about 128 MiB.
Services, ports and volumes
| Service | Image | Container ports | Volumes |
|---|---|---|---|
sftpgo | drakkan/sftpgo:v2.6.6 | 8080 | sftpgo_data -> /srv/sftpgosftpgo_home -> /var/lib/sftpgo |
Environment variables
This template sets no 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.
Deploy SFTPGo with Levelrail
In the dashboard, open Apps, choose New app, then Browse templates, and select SFTPGo. Review the Compose body and deploy.
With the CLI:
levelrail-cli templates deploy sftpgo --name my-sftpgoSee 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.