-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-dev.yml
40 lines (39 loc) · 1.71 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
version: '3.4'
services:
grafana:
image: grafana/grafana-oss:9.5.3
environment:
- GF_SECURITY_ADMIN_PASSWORD=$GF_SECURITY_ADMIN_PASSWORD
- GF_AUTH_GENERIC_OAUTH_ALLOW_SIGN_UP=true
- GF_AUTH_GENERIC_OAUTH_API_URL=https://id.test.vshn.net/auth/realms/VSHN-main-dev-realm/protocol/openid-connect/userinfo
- GF_AUTH_GENERIC_OAUTH_AUTH_URL=https://id.test.vshn.net/auth/realms/VSHN-main-dev-realm/protocol/openid-connect/auth
- GF_AUTH_GENERIC_OAUTH_CLIENT_ID=operator-dev-grafana
- GF_AUTH_GENERIC_OAUTH_CLIENT_SECRET=$GF_AUTH_GENERIC_OAUTH_CLIENT_SECRET
- GF_AUTH_GENERIC_OAUTH_ENABLED=true
- GF_AUTH_GENERIC_OAUTH_LOGIN_ATTRIBUTE_PATH=preferred_username
- GF_AUTH_GENERIC_OAUTH_NAME=VSHN Test Keycloak
- GF_AUTH_GENERIC_OAUTH_ROLE_ATTRIBUTE_PATH='Deny'
- GF_AUTH_GENERIC_OAUTH_ROLE_ATTRIBUTE_STRICT=false
- GF_AUTH_GENERIC_OAUTH_SKIP_ORG_ROLE_SYNC=true
- GF_AUTH_GENERIC_OAUTH_SCOPES=openid profile email
- GF_AUTH_GENERIC_OAUTH_TOKEN_URL=https://id.test.vshn.net/auth/realms/VSHN-main-dev-realm/protocol/openid-connect/token
- GF_SERVER_DOMAIN=operator-dev-grafana.apps.cloudscale-lpg-2.appuio.cloud
- GF_SERVER_ROOT_URL=https://operator-dev-grafana.apps.cloudscale-lpg-2.appuio.cloud
- GF_USERS_AUTO_ASSIGN_ORG_ID=83
ports:
- "3000:3000"
labels:
k8ify.singleton: true
k8ify.expose: operator-dev-grafana.$TEST_DOMAIN
k8ify.Ingress.annotations.cert-manager.io/cluster-issuer: letsencrypt-production
deploy:
resources:
reservations:
cpus: "0.01"
memory: 512M
volumes:
- grafana_data:/var/lib/grafana
volumes:
grafana_data:
labels:
k8ify.singleton: true