Permalink
Switch branches/tags
Nothing to show
Find file Copy path
38 lines (36 sloc) 959 Bytes
version: '3'
services:
otrs:
image: juanluisbaptiste/otrs:latest
build: otrs
ports:
- '80:80'
# If running behind a proxy container, expose the ports instead
# and link the proxy container to this one.
# expose:
# - "80"
depends_on:
- mariadb
- postfix
env_file: .env
volumes:
- './volumes/config:/opt/otrs/Kernel'
- ./volumes/skins:/opt/otrs/var/httpd/htdocs/skins/
- './volumes/backup:/var/otrs/backups'
- '/etc/localtime:/etc/localtime:ro'
mariadb:
image: juanluisbaptiste/otrs-mariadb:latest
build: mariadb
expose:
- "3306"
env_file: .env
volumes:
- './volumes/mysql:/var/lib/mysql'
- '/etc/localtime:/etc/localtime:ro'
postfix:
image: juanluisbaptiste/postfix:latest
expose:
- '25'
# See juanluisbaptiste/postfix github page for the contents
# and an explanation of credentials-smtp.
env_file: .env