forked from juanluisbaptiste/docker-otrs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-v1.yml
48 lines (48 loc) · 1.12 KB
/
docker-compose-v1.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
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"
links:
- mariadb:mariadb
- postfix:postfix
env_file: ../docker-otrs/otrs-setup.env
volumes_from:
- data-otrs
# If you want to run the installer, uncomment this:
environment:
# OTRS_INSTALL: "yes"
# OTRS_INSTALL: "restore"
# OTRS_BACKUP_DATE: "2018-01-24_21-49"
OTRS_DEBUG: "yes"
mariadb:
#image: juanluisbaptiste/otrs-mariadb:latest
build: 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:
- ./volumes/mysql:/var/lib/mysql
- "/etc/localtime:/etc/localtime:ro"
command: /bin/true
data-otrs:
image: juanluisbaptiste/otrs:latest
volumes:
- ./volumes/config:/opt/otrs/Kernel
- "./otrs/backup:/var/otrs/backups"
- "/etc/localtime:/etc/localtime:ro"
command: /bin/true