Deploy Redmine Project Management using Docker

#Introduction

In this tutorial, How to Deploy Redmine Project Management using Docker Compose. Redmine is an Open Source project management you can install on your LAN or Cloud host.

You need to install Docker and Docker-Compose on Ubuntu.

Deploy Redmine Project Management

Create the Dockerfile

mkdir ~/redmine
cd ~/redmine
nano Dockerfile

paste the following content:

“>
FROM redmine:5.0.3

RUN apt-get update

Save and close the file.

Create the docker-compose.yml file

nano docker-compose.yml

paste the following content:

version: '3.3'

services:

   postgres:

     image: postgres:10

     volumes:

       - ./storage/postgresql-data:/var/lib/postgresql/data

     environment:

       POSTGRES_PASSWORD: "POSTGRES12345"

       POSTGRES_DB: "redmine"

       PGDATA: "/var/lib/postgresql/data"

     restart: always

   redmine:

     build:

       context: .

     image: redmine:custom

     ports:

       - 80:3000

     volumes:

       - ./storage/docker_redmine-plugins:/usr/src/redmine/plugins

       - ./storage/docker_redmine-themes:/usr/src/redmine/public/themes

       - ./storage/docker_redmine-data:/usr/src/redmine/files

     environment:

       REDMINE_DB_POSTGRES: "postgres"

       REDMINE_DB_USERNAME: "postgres"

       REDMINE_DB_PASSWORD: "POSTGRES12345"

       REDMINE_DB_DATABASE: "redmine"

       REDMINE_SECRET_KEY_BASE: "…"

     restart: always

The deploy the container

docker-compose up -d
Deploy Redmine Project Management using Docker

Access Redmine

Open your web browser to http://SERVER

Access Redmine

Conclusion

You Deploy Redmine Project Management using Docker. I hope this will be helpful. Thank you for reading the DevopsRoles page!

,

About HuuPV

My name is Huu. I love technology and especially Devops Skill such as Docker, vagrant, git so forth. I likes open-sources. so I created DevopsRoles.com site to share the knowledge that I have learned. My Job: IT system administrator. Hobbies: summoners war game, gossip.
View all posts by HuuPV →

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.