用容器搭建redmine
使用https://hub.docker.com/_/redmine/中的stack.yml
安装webhook插件
1. 进入容器
# 查看容器id
docker ps
docker exec -it <容器id> bash
2. 修改gem源
gem source --add https://gems.ruby-china.com/ --remove https://rubygems.org/
bundle install
3. 安装插件
cd plugins
git clone https://github.com/suer/redmine_webhook
rake redmine:plugins:migrate RAILS_ENV=production
4. 重启容器
exit
退出容器,然后重启容器
docker restart <容器id>
登录
在浏览器中输入http://localhost:8080/
初始账号和密码都是admin