-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
82 lines (72 loc) · 1.84 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
version: '2'
services:
cachet-app:
image: ryanwclark/cachet
container_name: cachet-app
links:
- cachet-db
volumes:
### If you want to perform customizations to the source and have access to it, then uncomment this line - This includes modules
#- ./data:/www/html
### Or, if you just want to use Stock cachet and hold onto persistent files like cache and session use this, one or the other.
- ./data:/data
- ./logs/:/www/logs
environment:
- VIRTUAL_HOST=cachet.example.com
- VIRTUAL_NETWORK=nginx-proxy
- VIRTUAL_PORT=80
- LETSENCRYPT_HOST=cachet.example.com
- LETSENCRYPT_EMAIL=admin@example.com
- ZABBIX_HOSTNAME=cachet-app
- DB_HOST=cachet-db
- DB_NAME=cachet
- DB_USER=cachet
- DB_PASS=cachet
- SITE_URL=https://cachet.example.com
- ADMIN_EMAIL=admin@admin.com
- ADMIN_USER=admin
- ADMIN_PASS=cachet
- TIMEZONE=America/Chicago
networks:
- proxy-tier
restart: always
cachet-db:
image: ryanwclark/mariadb
container_name: cachet-db
volumes:
- ./db:/var/lib/mysql
environment:
- ROOT_PASS=password
- DB_NAME=cachet
- DB_USER=cachet
- DB_PASS=cachet
- ZABBIX_HOSTNAME=cachet-db
networks:
- proxy-tier
restart: always
cachet-db-backup:
container_name: cachet-db-backup
image: ryanwclark/db-backup
links:
- cachet-db
volumes:
- ./dbbackup:/backup
environment:
- ZABBIX_HOSTNAME=cachet-db-backup
- DB_HOST=cachet-db
- DB_TYPE=mariadb
- DB_NAME=cachet
- DB_USER=cachet
- DB_PASS=cachet
- DB_DUMP_FREQ=1440
- DB_DUMP_BEGIN=0000
- DB_CLEANUP_TIME=8640
- COMPRESSION=BZ
- MD5=TRUE
networks:
- proxy-tier
restart: always
networks:
proxy-tier:
external:
name: nginx-proxy