Docker compose with new official redmine containers
Requires :
mkdir -p /data/redmine/mysql /data/redmine/db-init /data/redmine/files /data/redmine/plugins
Example :
cd /data/redmine/plugins
git clone https://github.com/annikoff/redmine_plugin_computed_custom_field.git computed_custom_field
git clone https://github.com/JostBaron/redmine_workload.git redmine_workload
curl -L https://bitbucket.org/bugzinga/redcase/downloads/redcase-1.0.zip > redcase-1.0.zip && unzip redcase-1.0.zip && rm -f redcase-1.0.zip
./run.sh
or docker-compose up -d
docker exec -it redmine_redmine_1 /bin/bash
cd /usr/src/redmine/
RAILS_ENV=production bundle exec rake db:migrate
RAILS_ENV=production bundle exec rake redmine:plugins:migrate
http://<docker_host_ip>
/data/redmine/mysql
: database filesystem/data/redmine/db-init
: database initialization (can contain a backup file xxx.sql.gz automatically restored at start of database container)/data/redmine/files
: redmine user files/data/redmine/plugins
: redmine pluginsREDMINE_NO_DB_MIGRATE=1
: to prevent early redmine database migrationPASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY=1
: to prevent passenger download