-
-
Notifications
You must be signed in to change notification settings - Fork 41
/
Copy pathcompose.yml
82 lines (75 loc) · 1.52 KB
/
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
name: matomo
services:
db:
image: mariadb:10
command:
- "--character-set-server=utf8mb4"
- "--collation-server=utf8mb4_unicode_ci"
- "--max_allowed_packet=256M"
volumes:
- "db:/var/lib/mysql"
environment:
- "TZ"
- "MARIADB_RANDOM_ROOT_PASSWORD=yes"
- "MYSQL_DATABASE"
- "MYSQL_USER"
- "MYSQL_PASSWORD"
restart: always
redis:
image: redis:4.0-alpine
restart: always
msmtpd:
image: crazymax/msmtpd:latest
env_file:
- "./msmtpd.env"
environment:
- "TZ"
restart: always
geoip-updater:
image: crazymax/geoip-updater:latest
volumes:
- "geoip-updater:/data"
env_file:
- "./geoip-updater.env"
environment:
- "TZ"
restart: always
matomo:
image: crazymax/matomo:latest
depends_on:
- db
- redis
- msmtpd
ports:
- target: 8000
published: 8000
protocol: tcp
volumes:
- "matomo:/data"
- "geoip-updater:/data/geoip"
env_file:
- "./matomo.env"
environment:
- "TZ"
restart: always
cron:
image: crazymax/matomo:latest
depends_on:
- matomo
volumes:
- "matomo:/data"
- "geoip-updater:/data/geoip"
env_file:
- "./matomo.env"
environment:
- "TZ"
- "SIDECAR_CRON=1"
- "CRON_ARCHIVE=0 * * * *"
- "ARCHIVE_OPTIONS=--concurrent-requests-per-website=3"
healthcheck:
disable: true
restart: always
volumes:
db:
geoip-updater:
matomo: