Self contained Redmine 2.4 install on CentOS 6.5 base, using passenger-standalone for server.
2.0K
Quick Start
docker run -d -p 3000:3000 -p 25:25 webts/redmine
redmine will be accessible via http://{your ip or domain}:3000
Config
the only part needing config is smtp mail server, config file is located here
/var/www/redmine/config/configuration.yml
if you don't need email notifications start without port 25
docker run -d -p 3000:3000 webts/redmine
Migration
Rsync was installed to help with migration from remote Redmine install, basic method for migration is
Stop container if running docker stop ID
Run container in input mode docker run -i -t -p 3000:3000 -p 25:25 webts/redmine /bin/bash
Pull files from remote: rsync -avz -e ssh user@remoteDomian:/path/to/redmine/files/ /var/www/redmine/files
Pull plugins: rsync -avz -e ssh user@remoteDomian:/path/to/redmine/plugins/ /var/www/redmine/plugins
Dump redmine mysql database on remote server (I used phpMyAdmin)
Pull mysql dump rsync -avz -e ssh user@remoteDomian:/var/lib/phpMyAdmin/save/redmine.sql /root
Clear default database, type these lines: mysql [return] drop database redmine [return] create database redmine [return] exit [return]
Import database cd /root && mysql redmine < redmine.sql
Update database cd /var/www/redmine && rake db:migrate RAILS_ENV=production
Update plugins cd /var/www/redmine && rake redmine:plugins:migrate RAILS_ENV=production
exit & stop container exit
get container ID docker ps -a
commit container to new image docker commit ID username/newImageName
run new container in background docker run -d -p 3000:3000 -p 25:25 username/newImageName
Content type
Image
Digest
sha256:d0f12eb2e…
Size
351.5 MB
Last updated
almost 11 years ago
docker pull webts/redmine