Coder Social home page Coder Social logo

mocanu-alexandru / docker-rt Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jfcanaveral/docker-rt

0.0 0.0 0.0 24 KB

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

Perl 32.22% Nginx 37.08% Shell 30.70%

docker-rt's Introduction

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 \
    --name rtdb \
    -e POSTGRES_USER=rt_user \
    -e POSTGRES_PASSWORD=rt_pass \
    -e POSTGRES_DB=rt4 \
    -d postgres

Run a one-off container to configure the database:

  docker run \
    --link rtdb:db \
    -e DATABASE_USER=rt_user \
    -e DATABASE_PASSWORD=rt_pass \
    -e DATABASE_NAME=rt4 \
    tutems/request-tracker \
    /usr/bin/rtinit

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

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

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_PASSWORD=rt_pass \
    -e DATABASE_NAME=rt4 \
    tutems/request-tracker

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

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

docker-rt's People

Contributors

nickstenning avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.