What is SFTPGo?
Every agency and consultancy has the same recurring problem: getting large files FROM clients. SFTPGo solves it elegantly - create a share-upload link (password, expiry, usage caps) and the client uploads straight into a Lyngbak Bucket folder, no account, no WeTransfer.
Underneath is a serious multi-protocol file server: each user’s filesystem can BE an S3 bucket (custom endpoint, forced path-style, per-user key prefix to confine them to a folder), fronted by a web client, and optionally real SFTP over a custom TCP port or WebDAV.
A single AGPL Go binary at ~50 MB, with a proper admin UI and REST API for automation - the smallest template in the catalogue that replaces an entire category of file-exchange SaaS.
What you get
- Per-user S3 backends: bucket + endpoint + key prefix per user
- Share links: read AND write (upload) with password/expiry/caps
- Web client for users; admin UI + REST API for you
- Optional SFTP (custom TCP port) and WebDAV fronts
- Env-bootstrapped admin; SQLite state on a small volume
- ~50 MB Go binary, actively maintained, AGPL
How it runs on Lyngbak
| Service | Role | Public |
|---|---|---|
sftpgo | web admin + client (:5000); SFTP :2022 project-internal | web yes; SFTP via optional custom TCP port |
Before you deploy
ADMIN_PASSWORDadmin login at /web/admin
Sizing and billing
The binary is tiny; uploads stream through to the bucket. The home volume only matters for users you deliberately keep volume-backed.
A resource is a flat monthly price, with RAM and disk add-ons when the stack needs a little more than a tier, and room for your own apps on a larger one. On Usage Billing each service takes the smallest size that fits it and is billed by the second it runs, so a stopped stack stops costing CPU and RAM. Its 5.86 GiB of volumes cost $0.15 per GiB a month ($0.88/mo) for as long as they exist. One workspace can use both. See pricing
Run it locally first
The same compose file runs with plain Docker Compose. Clone the template source, copy .env.example to .env, and run docker compose up -d.
Questions
How do client uploads work without accounts?
Create a user mapped to a bucket prefix, then issue a write-enabled share link with a password and expiry. The client opens the link in a browser and drops files - they land in your bucket folder, and the link can self-expire after N uses.
Can I offer real SFTP?
Yes - SFTPGo listens on :2022 inside the project; add a public custom TCP port on the app and map it, and classic SFTP clients connect with per-user credentials while reading/writing the same buckets.
How is each user wired to a Lyngbak Bucket?
In the admin UI: filesystem provider "AWS S3 (compatible)", bucket name, the bucket’s S3 endpoint, keys, force-path-style on, and an optional key prefix to confine the user to a subfolder. Scriptable via the REST API for onboarding automation.