Skip to content

osTicket - Quick Start Docker

Powered by Ghost

First off due to it being Christmas Eve while writing this post, MERRY CHRISTMAS! and a Happy new year!

Introduction

Below is my docker compose script used in Portainer(Can also be used as regular docker-compose.yml) Ive left the cron scheduler uncommented for installation, please uncomment when the web gui asks you to at the end.

This really is a Copy paste setup, just change the password secrets before you run the docker compose up -d command! You will then be able to access your new osTicket install at http://docker-ip:8080/scp with the Default login Username of ostadmin and Password Admin1

Docker Compose script

More Information about the docker image used can be found on the Github page

os-ticket.yaml
1
version: '3'
2
services:
3
mysql:
4
image: mysql:5.7
5
volumes:
6
- "osticket-db1:/var/lib/mysql"
7
environment:
8
MYSQL_ROOT_PASSWORD: Please-Change-Me-Im-Root
9
MYSQL_DATABASE: osticket
10
MYSQL_USER: osticket
11
MYSQL_PASSWORD: Please-Change-Me
12
osticket:
13
image: devinsolutions/osticket:latest
14
volumes:
15
- 'osticket-app:/var/lib/osticket'
16
environment:
17
MYSQL_HOST: mysql
18
MYSQL_DATABASE: osticket
19
MYSQL_USER: osticket
20
MYSQL_PASSWORD: Please-Change-Me
21
ports:
22
- 8888:80
23
restart: on-failure
24
25
volumes:
26
osticket-db1:
27
driver: local
28
osticket-app:
29
driver: local