Docker 快速搭建redmine 專案管理 BUG追蹤
在Docker快速建立 redmine 當然是用 docker-compose.
首先 下載 compose
wget https://raw.githubusercontent.com/sameersbn/docker-redmine/master/docker-compose.yml
檔案內容參考:https://github.com/sameersbn/docker-redmine
version: '2'
services:
postgresql:
image: sameersbn/postgresql:9.6-4
environment:
- DB_USER=redmine
- DB_PASS=password
- DB_NAME=redmine_production
volumes:
- /mnt/docker/redmine/postgresql:/var/lib/postgresql
redmine:
build: ./
image: sameersbn/redmine:4.1.1-6
depends_on:
- postgresql
environment:
- TZ=Asia/Kolkata
- DB_ADAPTER=postgresql
- DB_HOST=postgresql
- DB_PORT=5432
- DB_USER=redmine
- DB_PASS=password
- DB_NAME=redmine_production
- REDMINE_PORT=10083
- REDMINE_HTTPS=false
- REDMINE_RELATIVE_URL_ROOT=
- REDMINE_SECRET_TOKEN=
- REDMINE_SUDO_MODE_ENABLED=false
- REDMINE_SUDO_MODE_TIMEOUT=15
- REDMINE_CONCURRENT_UPLOADS=2
- REDMINE_BACKUP_SCHEDULE=
- REDMINE_BACKUP_EXPIRY=
- REDMINE_BACKUP_TIME=
- SMTP_ENABLED=false
- SMTP_METHOD=smtp
- SMTP_DOMAIN=www.example.com
- SMTP_HOST=smtp.gmail.com
- SMTP_PORT=587
- SMTP_USER=mailer@example.com
- SMTP_PASS=password
- SMTP_STARTTLS=true
- SMTP_AUTHENTICATION=:login
- IMAP_ENABLED=false
- IMAP_HOST=imap.gmail.com
- IMAP_PORT=993
- IMAP_USER=mailer@example.com
- IMAP_PASS=password
- IMAP_SSL=true
- IMAP_INTERVAL=30
ports:
- "10083:80"
volumes:
- /mnt/docker/redmine/redmine:/home/redmine/data
- /mnt/docker/redmine/redmine-logs:/var/log/redmine
輸入命令
docker-compose up
或者
docker run --name=postgresql-redmine -d \
--env='DB_NAME=redmine_production' \
--env='DB_USER=redmine' --env='DB_PASS=password' \
--volume=/mnt/docker/redmine/postgresql:/var/lib/postgresql \
sameersbn/postgresql:9.6-4
docker run --name=redmine -d \
--link=postgresql-redmine:postgresql --publish=10083:80 \
--env='REDMINE_PORT=10083' \
--volume=/mnt/docker/redmine/redmine:/home/redmine/data \
--volume=/mnt/docker/redmine/redmine-logs:/var/log/redmine/ \
sameersbn/redmine:4.1.1-6
注意 如路徑是/mnt
在docker要配置可以訪問如圖
返回如下資料
docker-compose up
Pulling postgresql (sameersbn/postgresql:9.6-4)...
9.6-4: Pulling from sameersbn/postgresql
6b98dfc16071: Pull complete
4001a1209541: Pull complete
6319fc68c576: Pull complete
b24603670dc3: Pull complete
97f170c87c6f: Pull complete
02befcbfa4bc: Pull complete
703f657e352c: Pull complete
d5bfe11f5126: Pull complete
cfbe776bd60f: Pull complete
cc092b9fffcf: Pull complete
f5d746359f3e: Pull complete
Digest: sha256:518664a770e57fb023fb5cc5c3b3e492802f898d32f226481a1bf2c3d6ad4a20
Status: Downloaded newer image for sameersbn/postgresql:9.6-4
Pulling redmine (sameersbn/redmine:3.4.6)...
3.4.6: Pulling from sameersbn/redmine
cb56c90f0b30: Pull complete
0acc551e5716: Pull complete
8956dcd35143: Pull complete
908242721214: Pull complete
b44ff14dd3bb: Pull complete
707fcc5f355b: Pull complete
731fc417ced9: Pull complete
dd703ad06df3: Pull complete
30c23778cf21: Pull complete
ad7acb28644a: Pull complete
4db700937b9f: Pull complete
b683858c9e22: Pull complete
Digest: sha256:48c263882e2704fdf6d0e7cf89fb505526480ae622fe3981f4a656714807dd9e
Creating redmine_postgresql_1 ... done
Creating redmine_postgresql_1 ...
Creating redmine_redmine_1 ... done
Attaching to redmine_postgresql_1, redmine_redmine_1
postgresql_1 | Initializing datadir...
redmine_1 | Initializing logdir...
redmine_1 | Initializing datadir...
postgresql_1 | Initializing certdir...
postgresql_1 | Initializing logdir...
postgresql_1 | Initializing rundir...
postgresql_1 | Setting resolv.conf ACLs...
postgresql_1 | Creating database user: redmine
postgresql_1 | Creating database: redmine_production...
postgresql_1 | ‣ Granting access to redmine user...
postgresql_1 | Starting PostgreSQL 9.6...
postgresql_1 | LOG: database system was shut down at 2018-08-18 10:44:42 UTC
postgresql_1 | LOG: MultiXact member wraparound protections are now enabled
postgresql_1 | LOG: database system is ready to accept connections
postgresql_1 | LOG: autovacuum launcher started
redmine_1 | Symlinking dotfiles...
redmine_1 | Installing configuration templates...
redmine_1 | Configuring redmine...
redmine_1 | Configuring redmine::database
redmine_1 | Configuring redmine::unicorn...
redmine_1 | Configuring redmine::secret_token...
redmine_1 | Generating a session token...
redmine_1 | Note:
redmine_1 | All old sessions will become invalid.
redmine_1 | Please specify the REDMINE_SECRET_TOKEN parameter for persistence.
redmine_1 | **SHOULD** be defined if you have a load-balancing Redmine cluster.
redmine_1 | Configuring redmine::max_concurrent_ajax_uploads...
redmine_1 | Configuring redmine::sudo_mode...
redmine_1 | Configuring redmine::autologin_cookie...
redmine_1 | Configuring redmine::backups...
redmine_1 | Configuring nginx...
redmine_1 | Configuring nginx::redmine...
redmine_1 | Installing plugins...
redmine_1 | Installing themes...
redmine_1 | 2018-08-18 16:15:15,540 CRIT Supervisor running as root (no user in config file)
redmine_1 | 2018-08-18 16:15:15,540 WARN Included extra file "/etc/supervisor/conf.d/nginx.conf" during parsing
redmine_1 | 2018-08-18 16:15:15,540 WARN Included extra file "/etc/supervisor/conf.d/cron.conf" during parsing
redmine_1 | 2018-08-18 16:15:15,540 WARN Included extra file "/etc/supervisor/conf.d/unicorn.conf" during parsing
redmine_1 | 2018-08-18 16:15:15,558 INFO RPC interface 'supervisor' initialized
redmine_1 | 2018-08-18 16:15:15,559 CRIT Server 'unix_http_server' running without any HTTP authentication checking
redmine_1 | 2018-08-18 16:15:15,559 INFO supervisord started with pid 1
redmine_1 | 2018-08-18 16:15:16,562 INFO spawned: 'unicorn' with pid 222
redmine_1 | 2018-08-18 16:15:16,564 INFO spawned: 'cron' with pid 223
redmine_1 | 2018-08-18 16:15:16,567 INFO spawned: 'nginx' with pid 224
redmine_1 | 2018-08-18 16:15:17,603 INFO success: unicorn entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
redmine_1 | 2018-08-18 16:15:17,604 INFO success: cron entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
redmine_1 | 2018-08-18 16:15:17,604 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
就建立成功了 如果 失敗了 刪除 所有映象 然後再試一次 就可以了
參考地址:https://github.com/sameersbn/docker-redmine
使用者名稱 admin密碼 admin
就可以愉快的玩耍了
相關文章
- 能實現專案管理與BUG跟蹤系統功能的Redmine專案管理
- docker搭建gitlab、RedmineDockerGitlab
- 搭建 sentry 追蹤 Laravel 生產環境 bugLaravel
- 如何使用專案問題追蹤軟體跟進管理專案
- Docker實踐5:搭建redmineDocker
- Debug追蹤eclipseEclipse
- 追蹤 GitHub 專案的流行度Github
- 開源專案管理軟體-redmine 薦專案管理
- mantis專案bug跟蹤器
- 使用docker搭建公司redmine伺服器Docker伺服器
- 如何追蹤GitHub專案的流行度Github
- Go - 實現專案內鏈路追蹤Go
- 追蹤專案進展常用的衡量方法
- 搭建資料追蹤系統
- 專案管理工具Redmine各功能測試專案管理
- 安裝專案管理工具 SVN+Redmine專案管理
- redmine docker部署Docker
- redmine-dockerDocker
- 企業使用專案追蹤有哪些挑戰?
- XCOrganizer for Mac - 專案標籤分配追蹤軟體Mac
- Go - 實現專案內鏈路追蹤(二)Go
- 微服務呼叫鏈追蹤中心搭建微服務
- 如何基於 Docker 快速搭建 Springboot + Mysql + Redis 專案DockerSpring BootMySqlRedis
- SQL追蹤和事件追蹤SQL事件
- TGDC | 向陽而生 —— 光線追蹤的專案應用
- Jaeger鏈路追蹤在專案中的應用
- 專案中快速搭建Retrofit
- vue cli 快速搭建專案Vue
- 專案管理平臺-01-jira 入門介紹 缺陷跟蹤管理系統,為針對缺陷管理、任務追蹤和專案管理的商業性應用軟體專案管理
- Docker搭建部署Node專案Docker
- 【專案管理】推薦:簡易專案跟蹤表專案管理
- 快速搭建gulp專案實戰
- ? 使用 Dawn 快速搭建 React 專案!React
- 軟體異常追蹤利器Bugsnag使用詳解
- go-zero docker-compose 搭建課件服務(八):整合jaeger鏈路追蹤GoDocker
- SpringBoot使用Docker快速部署專案Spring BootDocker
- 初試Docker 搭建SpringBoot 專案DockerSpring Boot
- 定製 bugzilla 進行專案管理專案管理