请不要把任何和邀请码有关的内容发到 NAS 节点。

邀请码相关的内容请使用 /go/in 节点。

如果没有发送到 /go/in,那么会被移动到 /go/pointless 同时账号会被降权。如果持续触发这样的移动,会导致账号被禁用。
sn0wdr1am
V2EX  ›  NAS

如何使用 Docker 一键部署 sftpgo

  •  
  •   sn0wdr1am · Jan 23, 2025 · 2486 views
    This topic created in 500 days ago, the information mentioned may be changed or developed.

    sftpgo 是一款功能齐全且高度可配置的 SFTP 、HTTP/S 、FTP/S 和 WebDAV 服务器- S3 、Google Cloud Storage 、Azure Blob 。

    官网: https://github.com/drakkan/sftpgo

    https://sftpgo.com/

    文档: https://docs.sftpgo.com/latest/

    如何使用 Docker 一键部署 sftpgo ?

    alpine 版本

    支持平台:platforms: linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64,linux/ppc64le,linux/riscv64,linux/s390x

    docker run -d \
      --name=sftpgo \
      -e TZ=Asia/Shanghai \
      -p 8080:8080 \
      -p 2022:2022 \
      -v /path/to/data:/srv/sftpgo \
      -v /path/to/config:/var/lib/sftpgo \
      --restart unless-stopped \
      snowdreamtech/sftpgo:alpine
    

    debian 版本

    支持平台:platforms: linux/386,linux/amd64,linux/arm/v5,linux/arm/v7,linux/arm64,linux/mips64le,linux/ppc64le,linux/s390x

    docker run -d \
      --name=sftpgo \
      -e TZ=Asia/Shanghai \
      -p 8080:8080 \
      -p 2022:2022 \
      -v /path/to/data:/srv/sftpgo \
      -v /path/to/config:/var/lib/sftpgo \
      --restart unless-stopped \
      snowdreamtech/sftpgo:debian
    

    开源项目地址: https://github.com/snowdreamtech/sftpgo

    docker 镜像托管在:

    https://github.com/snowdreamtech/sftpgo/pkgs/container/sftpgo

    https://quay.io/repository/snowdreamtech/sftpgo

    https://hub.docker.com/r/snowdreamtech/sftpgo

    4 replies    2025-01-31 15:44:15 +08:00
    andyskaura
        1
    andyskaura  
       Jan 24, 2025
    虽然用不上,但感谢开源
    georgex
        2
    georgex  
       Jan 24, 2025
    这个看起来不错,之前用的 pure ftpd 体验不好,有机会迁移过去
    zeroxia
        3
    zeroxia  
       Jan 31, 2025
    -v /path/to/data:/srv/sftpgo

    只能提供一个路径对外服务么。
    还是 alist 简单,多个来源的文件都可以聚合在一起对外提供服务。
    sn0wdr1am
        4
    sn0wdr1am  
    OP
       Jan 31, 2025
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2993 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 14:36 · PVG 22:36 · LAX 07:36 · JFK 10:36
    ♥ Do have faith in what you're doing.