Docker Redmine Install

2/13/2022by admin

Install and execute Install. Download Redmine's source code using by./redmine/ Please change Redmine's setting. Redmine's setting files are contain in the./redmine/src/config directory. Docker compose up. Please execute docker-compose up in root directory. Apr 07, 2021 Bitnami Docker Image for Redmine. Contribute to bitnami/bitnami-docker-redmine development by creating an account on GitHub. Feb 19, 2019 Description trying to install the first plugin (Agile plugin from RedmineUP) in a full functional bitnami/redmine docker environment, which is created with docker-compose. Bitnami Docker Image for Redmine What is Redmine? Redmine is a flexible project management web application. Written using the Ruby on Rails framework, it is cross-platform and cross-database. Docker Pull Command. Source Repository. Overview What is a Container. Product Overview.

  • HowTo Install Redmine in a sub-URI


This page explains how to run Redmine in a subdirectory of your site, for instance ; in such a case, you can feel lost because the classic Redmine install does not work directly, and the links to css or javascript files seem to be broken. In this page, we assume you want to run Redmine under '/redmine/' subdirectory of your site.

Working variant (Sun Jun 26 13:48:50 MSK 2016)¶

Change the following lines at the bottom of your config/environment.rb


Using Redmine::Utils (preferred solution)¶


Add the following line at the bottom of your config/environment.rb

Then restart your application.

Using Rails features¶

Add the following line at the end of your config/environment.rb :
Rails will then prefix all links with '/redmine'. It can be considered as the simplest, cleanest and most flexible solution. Then restart your application. In more recent versions of Rails the class hierarchy has changed slightly and you will need to use
for the class name.

Using Mongrel features¶

If you run Redmine under Mongrel server, you can alternatively use the '--prefix' option of Mongrel :
Mongrel_rails service '--prefix' directive does NOT work with Rails 2.3.x
To fix this issue create a file config/initializers/patch_for_mongrel.rb [name of file can be anything]:

You may not run Mongrel on port 80 : if you have an Apache server on the same host, and you run Mongrel on port 8000, you can use the following Apache config to redirect (with Apache's mod_proxy enabled) :

Using Passenger (aka mod_rails) features¶

If you run Redmine under Apache web server with Phusion Passenger module, you can follow this guide ; please note it won't work correctly on some versions of Passenger or some Linux distributions.

Using Passenger+Nginx features¶

See official guide (This is the only solution that worked for me - 30 Oct 2012)

Bitnami Redmine Docker Install Plugins

Using Unicorn+Nginx¶

nginx config:


With a reverse proxy¶

If you have an Apache webserver in front of it (with mod_proxy enabled), or an Apache reverse proxy on another machine, you can run Redmine on a specific port and use this kind of config so it appears to be running in a subdirectory :
See Apache official documentation to adapt it.

With puma¶

  1. Define RAILS_RELATIVE_URL_ROOT environment variable :
    or use RedmineUtils method
    This allows rails to generate urls prefixed by RAILS_RELATIVE_URL_ROOT.
  2. Then update you
    This allows rack to handle urls prefixed with RAILS_RELATIVE_URL_ROOT.

Both points are necessary.

If using Docker official image, passenger variant¶

Create a Dockerfile in an empty directory with the following contents, adjusting the tag to the version you want to use:

Create a passenger-nginx-config-template.erb file in the same directory with the following contents, adjusting the sub-URI you want to use:

Build the Docker image and launch a container:

The resultant Redmine can be accessed in http://localhost:3000/suburi

Old versions of Redmine and Rails¶

If you run a very old version of Redmine (don't know exactly which ones), maybe your version of Rails' ActionController does not support the 'relative_url_root' mentionned above. Then you can look at this page to reproduce the same behaviour, but it is NOT a very good idea in most cases, you should consider upgrading Redmine.




If this page did not answered your problems, you can see #2508 or this thread.

Windows : Configuring Ruby On Rails App in a subdirectory under Apache -

Configuring ruby on rails Action Controller -

NOTE: We are in the process of modifying the file structure and configuration for many Bitnami stacks. On account of these changes, the file paths stated in this guide may change depending on whether your Bitnami stack uses native Linux system packages (Approach A), or if it is a self-contained installation (Approach B). To identify your Bitnami installation type and what approach to follow, run the command below:

The output of the command indicates which approach (A or B) is used by the installation, and will allow you to identify the paths, configuration and commands to use in this guide. Refer to the FAQ for more information on these changes.

Before installing a plugin, make sure that the plugin is compatible with your Redmine version. For plugins from the Redmine Plugin Directory. Select your Redmine version and check if the plugin is compatible or not with your version using the drop down menu located in the top right margin: “Show only plugins compatible with Redmine: version”.

Docker Redmine Install Windows 10

  • Navigate to the Redmine installation directory. Depending on your installation type, execute the following commands:

    • Approach A (Bitnami installations using system packages):

    • Approach B (Self-contained Bitnami installations):

  • Navigate to the plugins directory and get the .zip file or clone the plugin’s Git repository:

  • If you have obtained a .zip file, uncompress it and then delete the original file. Remember to replace PLUGIN_NAME-x-y-z with the correct name and version of the plugin:

    IMPORTANT: Before installing the plugin, check the installation notes in the plugin description or README. Some plugins need special installation requirements.

  • Navigate to the Redmine installation directory and install the plugin:

    NOTE: It could display a warning message about the log production file. In that case, run the following commands:

  • Restart Apache services:

Docker Redmine Install Plugin

Troubleshooting plugin installation


  • If you receive an error like this in Redmine 2.4.0-0 and newer:

    You are trying to install in deployment mode after changing your Gemfile. Run ‘bundle install’ elsewhere and add the updated Gemfile.lock to version control.

    Try adding the --no-deployment argument to the bundle install command as suggested in the error message.

Comments are closed.