0% found this document useful (0 votes)
140 views1 page

Redmine Docker

This document contains instructions for deploying Redmine and MySQL using Docker. It creates directories to store Redmine data, pulls the Redmine and MySQL images, sets up a network, then runs MySQL and Redmine containers joined to that network. Environment variables are used to configure the database connection. Once started, Redmine can be accessed at the given URL with the default admin credentials.

Uploaded by

OsvaldoTCF
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
140 views1 page

Redmine Docker

This document contains instructions for deploying Redmine and MySQL using Docker. It creates directories to store Redmine data, pulls the Redmine and MySQL images, sets up a network, then runs MySQL and Redmine containers joined to that network. Environment variables are used to configure the database connection. Once started, Redmine can be accessed at the given URL with the default admin credentials.

Uploaded by

OsvaldoTCF
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

- ALLOW_EMPTY_PASSWORD=yes

- POSTGRESQL_USERNAME=bn_redmine
- POSTGRESQL_DATABASE=bitnami_redmine

- REDMINE_DB_POSTGRES=postgresql
- REDMINE_DB_USERNAME=bn_redmine
- REDMINE_DB_NAME=bitnami_redmine

docker pull mysql:8


docker pull redmine
docker network create redmine-tier

===================================================

#sudo rm -rf /opt/docker/mysql/


#sudo rm -rf /opt/docker/redmine/

sudo mkdir -p /opt/docker/redmine/data


sudo mkdir -p /opt/docker/redmine/plugins
sudo mkdir -p /opt/docker/redmine/themes
sudo chmod -R 775 /opt/docker/redmine

===================================================

docker run -d --name mysql-redmine \


--restart always \
-p 3306:3306 \
-v /opt/docker/mysql/redmine/data:/var/lib/mysql \
--net redmine-tier \
-e MYSQL_HOST=172.16.1.1 \
-e MYSQL_ROOT_PASSWORD=1010aa \
-e MYSQL_DATABASE=redmine \
-e MYSQL_USER=redmine \
-e MYSQL_PASSWORD=redmine \
mysql:8 --default-authentication-plugin=mysql_native_password

==================================================

docker run -d --name redmine \


-p 3001:3000 \
-v /opt/docker/redmine/data:/usr/src/redmine/files \
-v /opt/docker/redmine/plugins:/usr/src/redmine/plugins \
-v /opt/docker/redmine/themes:/usr/src/redmine/themes \
--net redmine-tier \
-e REDMINE_DB_MYSQL=172.16.1.1 \
-e REDMINE_DB_PORT=3306 \
-e REDMINE_DB_USERNAME=redmine \
-e REDMINE_DB_PASSWORD=redmine \
-e REDMINE_DB_DATABASE=redmine \
-e REDMINE_DB_ENCODING=utf8 \
redmine

==================================================
acesso via http://172.16.1.3:3000/
login: admin / admin

You might also like