Skip to content
/ docker-rt Public

A full installation of RT in a docker image. To be used as a base for customisation.

Notifications You must be signed in to change notification settings

okfn/docker-rt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-rt
=========

This is a docker image for running Best Practical's RT (Request Tracker), a
ticket tracking system.

It's currently a work in progress, but it includes

  RT
  nginx
  postfix + spamassassin

And exposes the RT web interface on container port 80 and an RT-connected MTA on
container port 25.

from scratch
------------

Start a postgres container:

  docker run -d \
    -e POSTGRESQL_USER=rt_user \
    -e POSTGRESQL_PASS=rt_pass \
    -e POSTGRESQL_DB=rt4 \
    --name rtdb \
    orchardup/postgresql

Run a one-off container to configure the database:

  docker run \
    --link rtdb:db \
    -e DATABASE_USER=rt_user \
    -e DATABASE_PASS=rt_pass \
    -e DATABASE_NAME=rt4 \
    nickstenning/rt \
    /usr/bin/rtinit

Now the database is initialised and you can run RT proper:

  docker run -d \
    --link rtdb:db \
    -p 25 \
    -p 80 \
    -e DATABASE_USER=rt_user \
    -e DATABASE_PASS=rt_pass \
    -e DATABASE_NAME=rt4 \
    nickstenning/rt

To see the ports on which the web and mail interfaces are exposed, run `docker ps`.

run against a pre-existing database
-----------------------------------

You can provide the DATABASE_HOST directly:

  docker run -d \
    -p 25 \
    -p 80 \
    -e DATABASE_HOST=dbserver \
    -e DATABASE_USER=rt_user \
    -e DATABASE_PASS=rt_pass \
    -e DATABASE_NAME=rt4 \
    nickstenning/rt

configuration
-------------

This image provides some limited support for customising the deployment using
environment variables. See RT_SiteConfig.pm for details.

About

A full installation of RT in a docker image. To be used as a base for customisation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published