docker/redmine-git-integration
2015-12-09 10:46:45 +08:00
..
docker-compose.yml 添加ci和redmine-git-integration两个库 2015-12-07 10:53:31 +08:00
Dockerfile 添加ci和redmine-git-integration两个库 2015-12-07 10:53:31 +08:00
git-http.conf 添加ci和redmine-git-integration两个库 2015-12-07 10:53:31 +08:00
README.txt 完善各个docker image的README文件 2015-12-09 10:46:45 +08:00
Redmine.pm 添加ci和redmine-git-integration两个库 2015-12-07 10:53:31 +08:00
run.sh 添加ci和redmine-git-integration两个库 2015-12-07 10:53:31 +08:00

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

build

docker build -t kennylee26/redmine-git .

说明:
与redmine集成根据git/<项目名>这样的约定redmine项目中的Identifier进行匹配并通过校验输入的用户与redmine上的用户组是否一致来判断下载用户是否有权限进行下载和上传。

构建好image后使用docker-compose启动容器即可。

默认Git repositories在 /home/git
初始化项目需手动的在该目录上项目目录并 git init --bare 进行git初始化但创建后记得把权限改为777。

要想有更好的体验最好通过在redmine插件进行仓库的创建。


遗留问题:
实践发现有时候apache会报503错误查看日志是提示信息是说git-http-backend的这个cgi脚本unable to connect to cgi daemon after multiple tries。而且重启docker容器未果必须先停掉然后再kill再重新启动才行。