-
Notifications
You must be signed in to change notification settings - Fork 28
/
docker-compose.yml
70 lines (69 loc) · 1.96 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
version: '3'
services:
bull-monitor:
image: bull-monitor:latest
build:
context: .
args:
BUILD_VERSION: local
ports:
- 3000:3000
env_file:
- ./environments/local.env
depends_on:
- redis
environment:
USE_OAUTH2_PROXY: '0'
OAUTH2_PROXY_PROVIDER: 'github'
OAUTH2_PROXY_CLIENT_ID: ''
OAUTH2_PROXY_CLIENT_SECRET: ''
OAUTH2_PROXY_REDIRECT_URL: 'http://localhost:3000'
OAUTH2_PROXY_PASS_AUTHORIZATION_HEADER: '1'
OAUTH2_PROXY_EMAIL_DOMAINS: '*'
OAUTH2_PROXY_SCOPE: 'user:email'
UI: bull-board
REDIS_HOST: redis
REDIS_PORT: 6379
PORT: 3000
grafana:
image: grafana/grafana:latest
environment:
GF_INSTALL_PLUGINS: grafana-clock-panel,grafana-simple-json-datasource
GF_RENDERING_SERVER_URL: http://renderer:8081/render
GF_RENDERING_CALLBACK_URL: http://grafana:3000/
GF_LOG_FILTERS: rendering:debug
ports:
- 3001:3001
depends_on:
- prometheus
- smtp
- grafana-renderer
volumes:
- ./grafana.ini:/etc/grafana/grafana.ini
- ./grafana_prometheus.yml:/etc/grafana/provisioning/datasources/grafana_prometheus.yml
- ./grafana_email.yml:/etc/grafana/provisioning/notifiers/grafana_email.yml
# https://github.com/grafana/grafana-image-renderer/issues/48
grafana-renderer: # https://grafana.com/docs/grafana/latest/administration/image_rendering/#remote-rendering-service
image: grafana/grafana-image-renderer:latest
ports:
- 8081
prometheus:
image: prom/prometheus:latest
ports:
- 3002:9090
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
redis:
image: redis:alpine
ports:
- '6001:6379'
smtp:
image: mailhog/mailhog:latest
restart: always
ports:
- 6002:1025 # smtp
- 3003:8025 # web ui
environment:
- MH_AUTH_FILE=/home/mailhog/smtp-auth
volumes:
- ./smtp-auth:/home/mailhog/smtp-auth