-
Notifications
You must be signed in to change notification settings - Fork 105
/
Copy pathdocker-compose.yml
41 lines (40 loc) · 1.2 KB
/
docker-compose.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
version: '3'
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"
depends_on:
- mariadb
# Uncomment if using the smtp relay
# - postfix
env_file: .env
volumes:
- './volumes/config:/opt/otrs/Kernel'
# Uncomment if using OTRS_ARTICLE_STORAGE_TYPE=ArticleStorageFS
#- ./volumes/article:/opt/otrs/var/article
- ./volumes/skins:/opt/otrs/var/httpd/htdocs/skins/
- ./backups:/var/otrs/backups
- ./volumes/addons:/opt/otrs/addons
- ./volumes/db_upgrade:/opt/otrs/db_upgrade
- /etc/localtime:/etc/localtime:ro
mariadb:
image: juanluisbaptiste/otrs-mariadb:latest
expose:
- "3306"
env_file: .env
volumes:
- ./volumes/mysql:/var/lib/mysql
- /etc/localtime:/etc/localtime:ro
# If you need a SMTP relay you can use this service
# postfix:
# image: juanluisbaptiste/postfix:latest
# expose:
# - '25'
# # See juanluisbaptiste/postfix github page for the contents
# # and an explanation of credentials-smtp.
# env_file: .env