okfn / docker-rt Goto Github PK
View Code? Open in Web Editor NEWA full installation of RT in a docker image. To be used as a base for customisation.
A full installation of RT in a docker image. To be used as a base for customisation.
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.
2014/04/21 10:40:13 The command [/bin/sh -c make -C /src/${RT} testdeps 2>/dev/null | fgrep ...MISSING | cut -d' ' -f1 | sort -u | xargs c
panm] returned a non-zero code: 123
I tracked an issue in the scripts to some using DATABASE_PASS and some using DATABASE_PASSWORD, most notably the RT_SiteConfig.pm script, and rninit. Though it's possible that the scripts are consistent, and the documentation is out of sync.
I'll try and submit a pull request shortly.
Docker commands fails, and browsing through https://hub.docker.com/u/nickstenning I can't find the repo.
I wanted to use your image + install an extension. I created this Dockerfile:
FROM netsandbox/request-tracker
COPY rt-extension-rest2 /usr/local/src/rt-extension-rest2
RUN cd /usr/local/src/rt-extension-rest2 && \
perl Makefile.PL && \
make && \
make install
But since you have VOLUME /opt/rt4
, everything from the make install
gets lost.
Since all files written by rt reside under /opt/rt4/var
, it makes sense to change the volume to that path.
You say in the README that this is a work in progress. Could you give some indication of what needs work?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.