-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
45 lines (42 loc) · 1.16 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
version: '3.7'
services:
prometheus:
build:
context: ./docker/prometheus
restart: unless-stopped
ports:
- 9090:9090
expose:
- 9090
volumes:
- prometheus-storage:/prometheus
grafana:
build:
context: ./docker/grafana
restart: unless-stopped
environment:
GF_DEFAULT_INSTANCE_NAME:
GF_SERVER_DOMAIN:
GF_SERVER_ROOT_URL:
GF_SECURITY_ADMIN_USER: admin
GF_SECURITY_ADMIN_PASSWORD: admin
GF_USERS_ALLOW_SIGN_UP: 'false'
GF_AUTH_ANONYMOUS_ENABLED:
GF_AUTH_ANONYMOUS_ORG_NAME:
GF_AUTH_GITHUB_ENABLED:
GF_AUTH_GITHUB_ALLOW_SIGN_UP:
GF_AUTH_GITHUB_CLIENT_ID:
GF_AUTH_GITHUB_CLIENT_SECRET:
GF_AUTH_GITHUB_SCOPES: user:email,read:org
GF_AUTH_GITHUB_AUTH_URL: https://github.com/login/oauth/authorize
GF_AUTH_GITHUB_TOKEN_URL: https://github.com/login/oauth/access_token
GF_AUTH_GITHUB_API_URL: https://api.github.com/user
GF_AUTH_GITHUB_ALLOWED_ORGANIZATIONS:
GF_ANALYTICS_REPORTING_ENABLED:
ports:
- 3000:3000
volumes:
- grafana-storage:/var/lib/grafana
volumes:
prometheus-storage:
grafana-storage: