https://github.com/42ways/docker-rt
Docker container for current RT version with MySQL database.
https://github.com/42ways/docker-rt
Last synced: about 1 year ago
JSON representation
Docker container for current RT version with MySQL database.
- Host: GitHub
- URL: https://github.com/42ways/docker-rt
- Owner: 42ways
- License: gpl-2.0
- Created: 2015-10-26T23:01:44.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2020-10-02T13:03:19.000Z (almost 6 years ago)
- Last Synced: 2025-05-07T15:08:29.422Z (about 1 year ago)
- Language: Dockerfile
- Homepage:
- Size: 28.3 KB
- Stars: 1
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# docker-rt - 42ways fork
[RT](https://www.bestpractical.com/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](https://github.com/reuteras/docker-rt).
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 //docker-rt/files:/data --name rt -d 42ways/docker-rt
* `-e DOCKER_HOSTNAME=`
* `-e RT_HOSTNAME=`
* `-e RT_RELAYHOST=`
## 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