In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail how to install redmine in docker. The editor thinks it is very practical, so I share it with you for reference. I hope you can get something after reading this article.
Download the image (optional step, if skipped, it will be automatically installed in steps 3 and 4)
Docker pull docker.io/sameersbn/redminedocker pull docker.io/sameersbn/postgresql
Start SQL
Docker run-name=postgresql-redmine-d-env='DB_NAME=redmine_production'-env='DB_USER=redmine'-env='DB_PASS=password'-restart=always-volume=/srv/docker/redmine/postgresql:/var/lib/postgresql sameersbn/postgresql
Start Redmine
Docker run-name=redmine-d-link=postgresql-redmine:postgresql-publish=10083:80-env='REDMINE_PORT=10083'-restart=always-volume=/srv/docker/redmine/redmine:/home/redmine/data sameersbn/redmine
Content expansion
Install Redmine using Docker
Deploy the database container
Redmine depends on the database. We also use containers to deploy related databases. Here we can use PostgreSQL database and MySQL database, using the following
Command installation:
PostgreSQL
Docker run-d-name some-postgres-e POSTGRES_PASSWORD=secret-e POSTGRES_USER=redmine postgres
MySQL
Docker run-d-name some-mysql-e MYSQL_ROOT_PASSWORD=secret-e MYSQL_DATABASE=redmine mysql
The name and password in the command can be specified by yourself, which are the container name and database password, respectively.
Deploy Redmine
The following command connects to the PostgresSQL database
Docker run-d-- name redmine-e REDMINE_DB_PASSWORD=secret-p 3000 my/own/datadir:/usr/src/redmine/files my/own/datadir:/usr/src/redmine/files-- link some-postgres:postgres redmine
At this point, the redmine service can be accessed at port 3000 of the native IP address.
This is the end of this article on "how to install docker redmine". I hope the above content can be helpful to you, so that you can learn more knowledge. if you think the article is good, please share it out for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.