add docker-compose.yml
This commit is contained in:
parent
aca942856c
commit
b0b94ceefd
27
etc/grafana/docker-compose.yml
Normal file
27
etc/grafana/docker-compose.yml
Normal file
@ -0,0 +1,27 @@
|
||||
---
|
||||
version: '3.7'
|
||||
services:
|
||||
grafana:
|
||||
image: grafana/grafana:8.4.4
|
||||
restart: always
|
||||
ports:
|
||||
- 127.0.0.1:3500:3000
|
||||
volumes:
|
||||
- "grafana_data:/var/lib/grafana:delegated"
|
||||
environment:
|
||||
- GF_USERS_ALLOW_SIGN_UP=false
|
||||
- GF_AUTH_ANONYMOUS_ENABLED=true
|
||||
- GF_AUTH_ANONYMOUS_ORG_NAME=viewer_org
|
||||
- GF_AUTH_ANONYMOUS_ORG_ROLE=Viewer
|
||||
- GF_AUTH_BASIC_ENABLED=true
|
||||
# - GF_AUTH_DISABLE_LOGIN_FORM=false
|
||||
- GF_DEFAULT_INSTANCE_NAME=nebula
|
||||
- GF_SERVER_DOMAIN=grafana.dotya.ml
|
||||
- GF_ROOT_URL=/
|
||||
- GF_SECURITY_COOKIE_SECURE=true
|
||||
- GF_ANALYTICS_REPORTING_ENABLED=false
|
||||
- GF_SECURITY_ADMIN_PASSWORD=$GF_ADMIN_PASSWORD
|
||||
- GF_ALLOWED_ORIGINS="https://*.dotya.ml"
|
||||
|
||||
volumes:
|
||||
grafana_data:
|
Loading…
Reference in New Issue
Block a user