forked from juanluisbaptiste/docker-otrs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-prod.yml
53 lines (51 loc) · 1.39 KB
/
docker-compose-prod.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
version: '2'
services:
otrs:
image: juanluisbaptiste/otrs:latest
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
# 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: "es"
mariadb:
image: juanluisbaptiste/otrs-mariadb:latest
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
- "./otrs/backup:/var/otrs/backups"
- "/etc/localtime:/etc/localtime:ro"
command: /bin/true