Friday, July 24, 2020

Setting up Redmine with Docker Compose in Ubutnu 20.04

VIDEO TUTORIAL -
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Redmine Offcial DockerHub Link - https://hub.docker.com/_/redmine
Link 2 - https://hub.docker.com/r/sameersbn/redmine

Redmine is a flexible project management web application. Written using the Ruby on Rails framework, it is cross-platform and cross-database.
Offcial Website -https://www.redmine.org/

Docker Compose is a tool for defining and running multi-container Docker applications. It allows users to launch, execute, communicate, and close containers with a single coordinated command. - https://docs.docker.com/compose/
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Testing Environment: Ubuntu 20.04 LTS        Hostname - www.yourdomain.com         ip Address - 192.168.1.10
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
apt update ; apt install -y build-essential net-tools curl git software-properties-common neofetch apt-transport-https ca-certificates curl gnupg-agent docker.io docker-compose
systemctl enable --now docker ; usermod -aG docker $USER ; newgrp docker


docker pull sameersbn/redmine:latest

docker pull sameersbn/redmine:4.1.1-2

docker build -t sameersbn/redmine github.com/sameersbn/docker-redmine


wget https://raw.githubusercontent.com/sameersbn/docker-redmine/master/docker-compose.yml
docker-compose up

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

docker run --name=redmine -d \
  --link=postgresql-redmine:postgresql --publish=10083:80 \
  --env='REDMINE_PORT=10083' \
  --volume=/srv/docker/redmine/redmine:/home/redmine/data \
  sameersbn/redmine:4.1.1-2

http://www.yourdomain.com:10083/
username: admin   | password: admin
docker ps -aq
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

No comments:

Post a Comment