cliffordw/rt
NOTE: This isn't actively maintained.
This is a Docker image for running Best Practical's Request Tracker, a ticket tracking system.
Source at https://www.github.com/clifford2/rt, adapted from https://github.com/okfn/docker-rt, with the following changes:
It's currently a work in progress, but it includes:
And exposes the RT web interface on container port 80 and an RT-connected MTA on container port 25.
Start a MySQL/MariaDB container:
docker-compose up -d db
Run a one-off container to configure the database:
docker-compose run rt /usr/local/bin/rtinit
Now the database is initialised and you can run RT proper:
docker-compose up -d rt
This image provides some limited support for customising the deployment using environment variables, namely:
DATABASE_HOST
(default: localhost
)DATABASE_PORT
(default: 3306
)DATABASE_NAME
(default: rtdb
)DATABASE_USER
(default: rtuser
)DATABASE_PASSWORD
(default: rtpass
)DATABASE_PASSWORD_FILE
as alternate to $DATABASE_PASSWORD
WEB_DOMAIN
(default: example.com
)WEB_PROTO
(default: http
)WEB_PORT
(default: 80 / 443 depending on $WEB_PROTO
)WEB_BASEURL
(default: ${WEB_PROTO}://${WEB_DOMAIN}[:${WEB_PORT}]
)RT_NAME
(default: ${RT_NAME:-${WEB_DOMAIN}
)RT_ORG
(default: ${ORG:-${WEB_DOMAIN}
)LOG_LEVEL
(default: info
)TIMEZONE
(default: UTC
)$mydomain
: EMAIL_DOMAIN
(default: $WEB_DOMAIN
)$myhostname
: EMAIL_HOSTNAME
(default: $EMAIL_DOMAIN
)EMAIL_ADDRESS
(default: rt@$EMAIL_DOMAIN
)RT_DEFAULT_QUEUE
(default: general
)Additional configuration can be done by mounting custom configuration
files into /opt/rt5/etc/RT_SiteConfig.d/
.
For an alternate approach, using registry.access.redhat.com/ubi8/ubi-init
as base image, see
How to move Request Tracker into a Linux container.
docker pull cliffordw/rt