# sftpgo-ryan **Repository Path**: Coding.com/sftpgo-ryan ## Basic Information - **Project Name**: sftpgo-ryan - **Description**: SFTPGo 中文NAS版 - **Primary Language**: Unknown - **License**: AGPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 3 - **Created**: 2025-05-06 - **Last Updated**: 2025-05-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # SFTPGo 中文NAS版 ## 基线版本 [SFTPGo 2.6.3](https://github.com/drakkan/sftpgo/releases/tag/v2.6.3) [SFTPGo 2.6.4](https://github.com/drakkan/sftpgo/releases/tag/v2.6.4) [SFTPGo 2.6.6](https://github.com/drakkan/sftpgo/releases/tag/v2.6.6) ## 汉化说明 ### 汉化文件清单 | 目录 | 文件 | 说明 | | ----------------- | ---------------- | ------------------ | | static/locales/zh | translation.json | 界面字符汉化转码库 | | templates/common | base.html | 语言选择基础件 | ## 编译构建 ```shell # 设置国内代理 go env -w GOPROXY=https://goproxy.cn,direct # 编译sftpgo二进制程序 go build -tags nogcs,noazblob,noportable,nobolt,nopgsql,nosqlite -ldflags "-s -w -X github.com/drakkan/sftpgo/v2/internal/version.commit=`git describe --always --abbrev=8 --dirty` -X github.com/drakkan/sftpgo/v2/internal/version.date=`date -u +%FT%TZ`" -o sftpgo ``` ## 容器镜像 ```shell docker buildx build -t sftpgo-ryan:2.6.6 --build-arg FEATURES=nogcs,noazblob,noportable,nobolt,nopgsql,nosqlite --build-arg GOPROXY=https://goproxy.cn,direct -f Dockerfile.alpine . ``` ## Compose运行 ### 配置文件 * docker-compose.yml ### 运行指令 ```shell docker-compose up -d ``` ### Remove old images ```shell docker images -a|grep sftpgo-ryan|awk '{print $3}'|xargs docker rmi -f ```