/docker-otrs

A docker image containing a runnable OTRS

Primary LanguageShell

OTRS Docker container

Docker Hub

This project creates a Docker container with full OTRS stack installed (PERL app with a MySQL database).

Requirements

You need a recent docker version installed, take a look here for instructions.

Then, simply:

$ docker pull swcc/docker-otrs
$ docker run -t -p 80:80 swcc/docker-otrs

This will download and run a container with a working OTRS.

Usage

After starting the container, your OTRS instance is ready to be setup. You can reach the web setup by pointing your browser to the IP address of your Docker host: http://<host IP>:80/installer.pl

Persist data

You can mount the data and log directories to store your data outside of the container:

$ docker run -t -p 80:80 -v /otrs/data:/var/lib/mysql/otrs -v /otrs/data:/var/log/otrs swcc/docker-otrs

Build

To build the image from scratch run

$ docker build -t otrs .