Skip to content

Docker container for current RT version with MySQL database.

License

Notifications You must be signed in to change notification settings

42ways/docker-rt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-rt - 42ways fork

RT, or Request Tracker, is a issue tracking system. Will be built with the current RT version (download from https://download.bestpractical.com/pub/rt/release/rt.tar.gz).

Features

This Docker spec changes some of the main assumptions of the forked version.

The operating system is Ubuntu. The database used is MySQL.

The container only provides HTTP access (without SSL). We use an Apache reverse proxy on or host running this container to do the SSL stuff.

The container also exposes port 25 for rt-mailgate. The mail config uses RT_HOSTNAME, DOCKER_HOSTNAME and localhost as local names, so you can forward mails to rt-mailgate using the docker hostname.

You have to provide the the following files at startup:

  • RT_SiteConfig.pm
  • rt-aliases (will be appended to /etc/aliases to specify rt-mailgate adresses)
  • htpasswd.proxy (for access control via basic authentication)

Usage

To run docker-rt (change to your full path to files specified above):

    docker run -ti -p 80:80 -p 25:25 -e RT_HOSTNAME=rt.example.com -e RT_RELAYHOST=mail.example.com -v /<full path>/docker-rt/files:/data --name rt -d 42ways/docker-rt
  • -e DOCKER_HOSTNAME=<CDN of the server>
  • -e RT_HOSTNAME=<RT server hostname>
  • -e RT_RELAYHOST=<Postfix relay host>

Database upgrade

To upgrade the database, use the script sbin/rt-setup-database in the container, i. e.

  • execute a shell in the container (docker exec -it /bin/bash)
  • cd to /opt/rt4
  • invoke the database update script (perl sbin/rt-setup-database --action upgrade)

TODO

Lots of things.

  • Solution for adding plugins

About

Docker container for current RT version with MySQL database.

Resources

License

Stars

Watchers

Forks

Packages

No packages published