-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.dev.yml
58 lines (53 loc) · 1.55 KB
/
docker-compose.dev.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
version: '3.8'
services:
redis:
image: redis:7
container_name: redis_mailbee
mailbee:
image: node:18
container_name: mailbee
user: "node"
working_dir: /mailbee
ports:
- 3000:3000
- 3001:3001 # optionnal
environment:
- NODE_ENV=dev
- TZ=Europe/Amsterdam
volumes:
- ./src:/mailbee
- ./config.yml:/mailbee/config.yml
- ./template.html:/mailbee/template.html
command: "npm run-script dev"
links:
- redis
depends_on:
- redis
prometheus:
image: prom/prometheus:latest
container_name: prometheus_mailbee
ports:
- 9091:9090 # optionnal
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
links:
- mailbee
depends_on:
- mailbee
grafana:
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