Skip to content

Instantly share code, notes, and snippets.

@shadowguardian507-irl
Created October 2, 2016 10:33
Show Gist options
  • Save shadowguardian507-irl/62c2b172248267d2fc8e30810f6054b8 to your computer and use it in GitHub Desktop.
Save shadowguardian507-irl/62c2b172248267d2fc8e30810f6054b8 to your computer and use it in GitHub Desktop.
version: '2'
services:
otrs:
image: juanluisbaptiste/otrs:latest
build:
context: otrs
# args:
# OTRS_VERSION: 5.0.10-01
ports:
- "80:80"
# If running behind a proxy container, expose the ports instead
# and link the proxy container to this one.
# expose:
# - "80"
links:
- mariadb:mariadb
# - postfix:postfix
# env_file: otrs-setup.env
volumes_from:
- data-otrs
# If you want to run the installer, uncomment this:
# environment:
# OTRS_INSTALL: "yes"
# If you want to restore a backup, uncomment this:
environment:
# OTRS_INSTALL: "restore"
# OTRS_BACKUP_DATE: "2015-06-02_06-22"
# To change email time fetching set OTRS_POSTMASTER_FETCH_TIME (set it to 0 to disable email fetching):
OTRS_POSTMASTER_FETCH_TIME: 0
# To set the default skin:
# OTRS_AGENT_SKIN: "ivory"
# OTRS_DROP_DATABASE: "yes"
# OTRS_TICKET_COUNTER: 500
# OTRS_NUMBER_GENERATOR: "AutoIncrement"
OTRS_LANGUAGE: "gb"
OTRS_HOSTNAME: "PSNMARSTMS01"
OTRS_SYSTEM_ID: "PSNMARSTMS01"
OTRS_ADMIN_EMAIL: noc@test.s-e.tk"
OTRS_ORGANIZATION: "p-s-e"
OTRS_ROOT_PASSWORD: "jbevo8g489yhg34gerpg94h"
OTRS_TICKET_COUNTER: 0
OTRS_NUMBER_GENERATOR: "DateChecksum"
mariadb:
build:
context: mariadb
expose:
- "3306"
volumes_from:
- data
environment:
MYSQL_ROOT_PASSWORD: changeme
# postfix:
# image: juanluisbaptiste/postfix:latest
# expose:
# - "25"
# env_file: credentials-smtp.env
data:
image: centos/mariadb:latest
volumes:
- /var/lib/mysql
- "/etc/localtime:/etc/localtime:ro"
command: /bin/true
data-otrs:
image: juanluisbaptiste/otrs:latest
volumes:
- ./config:/config
- "./otrs/backup:/var/otrs/backups"
- "/etc/localtime:/etc/localtime:ro"
command: /bin/true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment