-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
51 lines (46 loc) · 1.44 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
version: '3.8'
services:
redis: # required
image: redis:7
container_name: redis_mailbee
mailbee: # required
image: ctrlouis/mailbee
container_name: mailbee
ports:
- 3000:3000
environment:
- NODE_ENV=production
- TZ=Europe/Amsterdam
volumes:
- ./config.yml:/mailbee/config.yml
- ./template.html:/mailbee/template.html
links:
- redis
depends_on:
- redis
prometheus: # optionnal (for metrics)
image: prom/prometheus:latest
container_name: prometheus_mailbee
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
links:
- mailbee
depends_on:
- mailbee
grafana: # optionnal (for metrics)
image: grafana/grafana:latest
container_name: grafana_mailbee
ports:
- 9090:3000
environment:
- GF_AUTH_DISABLE_LOGIN_FORM=true
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
volumes:
- ./datasources.yml:/etc/grafana/provisioning/datasources/datasources.yml
- ./dashboards.yml:/etc/grafana/provisioning/dashboards/dashboards.yml
- ./dashboard.json:/etc/grafana/provisioning/dashboards/dashboard.json
links:
- prometheus
depends_on:
- prometheus