Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install Redmine in Docker

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

Most people do not understand the knowledge points of this article "how to install Redmine in Docker", so the editor summarizes the following contents, detailed content, clear steps, and has a certain reference value. I hope you can get something after reading this article. Let's take a look at this "how to install Redmine in Docker" article.

Download the image (optional) If you skip it, it will be installed automatically in steps 3 and 4) docker pull docker.io/sameersbn/redminedocker pull docker.io/sameersbn/postgresql starts SQLdocker 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 starts Redminedocker 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 extension

Use Docker to install Redmine to deploy the database container Redmine dependent database, we also use the container to deploy the related database, here you can use the PostgreSQL database and the MySQL database, respectively

Command installation

PostgreSQL

Docker run-d-- name some-postgres-e POSTGRES_PASSWORD=secret-e POSTGRES_USER=redmine postgresMySQLdocker 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.

The above is about the content of this article on "how to install Redmine in Docker". I believe we all have a certain understanding. I hope the content shared by the editor will be helpful to you. If you want to know more about the relevant knowledge, please follow the industry information channel.

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.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report