Gogs
轻量 Git 服务、GitLab 替代品、GitLab Alternative
认识
仓库:https://github.com/gogs/gogs
组成
配置文件路径
在 CentOS 7.x 中,如果使用软件管理器安装,则默认配置文件位于 /etc/gogs/ 目录中。
构建
镜像仓库:gogs/gogs – Docker Image | Docker Hub
容器部署:gogs/docker at main · gogs/gogs
性质
配置 Git LFS 支持
gogs/lfs.md at main · gogs/gogs
对于 Gogs 环境要求:
1)Git LFS is supported in Gogs starting with version 0.12.
2)Git LFS client version 1.0.1 and up.
在 app.ini 中,添加 [lfs] 配置:
... [lfs] ; The storage backend for uploading new objects. STORAGE = local ; The root path to store LFS objects on local file system. OBJECTS_PATH = /data/git/lfs-objects ...