【项目管理】Docker安装 Redmine

尹兴生
2023-12-01

Redmine

安装

1. 获取镜像

sudo docker pull sameersbn/redmine:latest

2. 安装

Step 1. Launch a postgresql container

sudo docker run --name=postgresql-redmine -d \
  --env='DB_NAME=redmine_production' \
  --env='DB_USER=redmine' --env='DB_PASS=password' \
  --volume=/srv/docker/redmine/postgresql:/var/lib/postgresql \
  sameersbn/postgresql:9.6-4

Step 2. Launch the redmine container

sudo docker run --name=redmine -d \
  --link=postgresql-redmine:postgresql --publish=10083:80 \
  --env='REDMINE_PORT=10083' \
  --volume=/srv/docker/redmine/redmine:/home/redmine/data \
  --volume=/srv/docker/redmine/redmine-logs:/var/log/redmine/ \
  sameersbn/redmine:5.0.0-1

[参考链接]

  1. https://hub.docker.com/r/sameersbn/redmine/
  2. https://zhuanlan.zhihu.com/p/493253076
  3. https://github.com/sameersbn/docker-redmine
  4. redmine插件安装
 类似资料: