Skip to content

Commit 38f139c

Browse files
authored
Merge pull request #19 from grafana/fundamentals-env-docker
docker-compose edit
2 parents b565012 + 9c6b1d7 commit 38f139c

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

docker-compose.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ services:
4343
environment:
4444
- "GF_DEFAULT_APP_MODE=development"
4545
- "GF_LOG_LEVEL=debug"
46+
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
47+
- GF_AUTH_ANONYMOUS_ENABLED=true
48+
- GF_AUTH_BASIC_ENABLED=false
49+
volumes:
50+
- ./grafana/provisioning/datasources:/etc/grafana/provisioning/datasources
4651

4752
app:
4853
build: ./app
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
apiVersion: 1
2+
3+
datasources:
4+
- name: Prometheus
5+
type: prometheus
6+
access: proxy
7+
orgId: 1
8+
url: http://prometheus:9090
9+
basicAuth: false
10+
isDefault: true
11+
editable: true

0 commit comments

Comments
 (0)