Skip to content

Repository files navigation

github.com/tiredofit/docker-osticket

GitHub releaseBuild StatusDocker StarsDocker PullsBecome a sponsorPaypal Donate


About

This will build a Docker Image for OSTicket - An open source helpdesk / ticketing system.

  • Automatically installs and sets up installation upon first start

Maintainer

Table of Contents

Prerequisites and Assumptions

  • Assumes you are using some sort of SSL terminating reverse proxy such as:
  • Requires access to a MySQL/MariaDB Server

Installation

Build from Source

Clone this repository and build the image with docker build -t (imagename) .

Prebuilt Images

Builds of the image are available on Docker Hub

docker pull docker.io/tiredofit/osticket:(imagetag)

Builds of the image are also available on the Github Container Registry

docker pull ghcr.io/tiredofit/docker-osticket:(imagetag)

The following image tags are available along with their tagged release based on what's written in the Changelog:

Container OSTag
Debian:latest

Configuration

Quick Start

The first boot can take from 2 minutes - 5 minutes depending on your CPU to setup the proper schemas.

  • Login to the web server and enter in your admin email address, admin password and start configuring the system!

Persistent Storage

The following directories are used for configuration and can be mapped for persistent storage.

DirectoryDescription
/www/osticket(Not needed as we want to keep base clean, move to a custom/assets approach) Root Directory
/www/logsNginx and php-fpm logfiles

Environment Variables

Base Images used

This image relies on an Alpine Linux or Debian Linux base image that relies on an init system for added capabilities. Outgoing SMTP capabilities are handlded via msmtp. Individual container performance monitoring is performed by zabbix-agent. Additional tools include: bash,curl,less,logrotate,nano.

Be sure to view the following repositories to understand all the customizable options:

ImageDescription
OS BaseCustomized Image based on Debian Linux
NginxNginx webserver
PHP-FPMPHP Interpreter
ParameterDescriptiondefault
INSTALL_SECRETA Large and Random Installation String (Auto Generates on Install if empty)
INSTALL_EMAILInstaller Email (Use different email then ADMIN_EMAIL)helpdesk@example.com
INSTALL_NAMESite NameMy Helpdesk
ADMIN_FIRSTNAMEFirst name of Admin User
ADMIN_LASTNAMELast name of Admin User
ADMIN_EMAILAdmin Email address (Make sure it is different than INSTALL_EMAIL)
ADMIN_USERAdmin Username Must be more than 5 characters
ADMIN_PASSAdmin Password
CRON_INTERVALAmount of time in Minutes to Check Incoming Mail10
DB_HOSTHost or container name of MariaDB Server e.g. osticket-db
DB_PORTMariaDB Port3306
DB_NAMEMariaDB Database name e.g. osticket
DB_USERMariaDB Username for above Database e.g. osticket
DB_PASSMariaDB Password for above Database e.g. password
DB_PREFIXPrefix for Tablesost_
SMTP_HOSTSMTP Hostpostfix
SMTP_PORTSMTP Host Port25
SMTP_FROMSMTP From Addressosticket@hostname.com
SMTP_TLSShould TLS be used (0=no 1=yes)1
SMTP_USERSMTP Authentication user
SMTP_PASSSMTP Authentication password

Networking

The following ports are exposed.

PortDescription
80HTTP

Maintenance

Shell Access

For debugging and maintenance purposes you may want access the containers shell.

bash docker exec -it (whatever your container name is) bash

Support

These images were built to serve a specific need in a production environment and gradually have had more functionality added based on requests from the community.

Usage

  • The Discussions board is a great place for working with the community on tips and tricks of using this image.
  • Consider sponsoring me for personalized support

Bugfixes

  • Please, submit a Bug Report if something isn't working as expected. I'll do my best to issue a fix in short order.

Feature Requests

  • Feel free to submit a feature request, however there is no guarantee that it will be added, or at what timeline.
  • Consider sponsoring me regarding development of features.

Updates

  • Best effort to track upstream changes, More priority if I am actively using the image in a production environment.
  • Consider sponsoring me for up to date releases.

License

MIT. See LICENSE for more details.

References

About

Dockerized help desk application

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages