25 lines
960 B
YAML
25 lines
960 B
YAML
---
|
|
version: "3.8"
|
|
|
|
volumes:
|
|
grafana:
|
|
name: ${GRAFANA_VOLUME_NAME:-grafana}
|
|
|
|
services:
|
|
grafana:
|
|
container_name: ${GRAFANA_CONTAINER_NAME:-grafana}
|
|
image: ${GRAFANA_IMAGE:-grafana/grafana:8.3.6@sha256:5b71534e0a0329f243994a09340db6625b55a33ae218d71e34ec73f824ec1e48}
|
|
restart: always
|
|
volumes:
|
|
- grafana:/var/lib/grafana
|
|
environment:
|
|
GF_ANALYTICS_CHECK_FOR_UPDATES: ${GF_ANALYTICS_CHECK_FOR_UPDATES:-false}
|
|
GF_ANALYTICS_REPORTING_ENABLED: ${GF_ANALYTICS_REPORTING_ENABLED:-false}
|
|
GF_INSTALL_PLUGINS: ${GF_INSTALL_PLUGINS}
|
|
GF_SECURITY_ADMIN_USER: ${GF_SECURITY_ADMIN_USER:?err}
|
|
GF_SECURITY_ADMIN_PASSWORD: ${GF_SECURITY_ADMIN_PASSWORD:?err}
|
|
GF_SECURITY_DISABLE_GRAVATAR: ${GF_SECURITY_DISABLE_GRAVATAR:-true}
|
|
GF_SECURITY_COOKIE_SECURE: ${GF_SECURITY_COOKIE_SECURE:-true}
|
|
GF_SERVER_PROTOCOL: ${GF_SERVER_PROTOCOL:-http}
|
|
GF_USERS_ALLOW_SIGN_UP: ${GF_USERS_ALLOW_SIGN_UP:-false}
|