forked from tiredofit/docker-osticket
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
87 lines (76 loc) · 2.01 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
version: '3.7' services:
osticket-app:
image: tiredofit/osticket
container_name: osticket-app
labels:
- traefik.enable=true
- traefik.http.routers.osticket-app.rule=Host(`osticket.example.com`)
- traefik.http.services.osticket-app.loadbalancer.server.port=80
volumes:
- ./data/:/www/osticket
- ./logs/:/www/logs
environment:
- TIMEZONE=America/Vancouver
- CONTAINER_NAME=osticket-app
- CRON_INTERVAL=10
- DB_HOST=osticket-db
- DB_NAME=osticket
- DB_USER=osticket
- DB_PASS=password
- SMTP_HOST=localhost
- SMTP_PORT=25
- SMTP_TLS=0
- SMTP_PASS=password
- INSTALL_SECRET=somerandomlargecharacterstring
- INSTALL_NAME=OSTicket Helpdesk
- ADMIN_FIRSTNAME=Admin
- ADMIN_LASTNAME=User
- ADMIN_USER=ostadmin
- ADMIN_PASS=Password123
networks:
- proxy
- services
restart: always
osticket-db:
image: tiredofit/mariadb:10.11
container_name: osticket-db
volumes:
- ./db:/var/lib/mysql
environment:
- TIMEZONE=America/Vancouver
- CONTAINER_NAME=osticket-db
- ROOT_PASS=securepassword
- DB_NAME=osticket
- DB_USER=osticket
- DB_PASS=password
networks:
- services
restart: always
osticket-db-backup:
container_name: osticket-db-backup
image: tiredofit/db-backup:latest
volumes:
- ./dbbackup:/backup
environment:
- TIMEZONE=America/Vancouver
- CONTAINER_NAME=osticket-db-backup
- DB_HOST=osticket-db
- DB_TYPE=mariadb
- DB_NAME=osticket
- DB_USER=osticket
- DB_PASSWORD=userpassword
- DB_DUMP_FREQ=1440
- DB_DUMP_BEGIN=0000
- DB_CLEANUP_TIME=8640
networks:
- services
restart: always
networks:
proxy:
external: true
services:
external: true