services/grafana/docker-compose.yml

22 lines
676 B
YAML
Raw Normal View History

2021-02-24 16:42:15 +01:00
---
version: "3.8"
2021-02-24 16:42:15 +01:00
volumes:
grafana:
name: ${GRAFANA_VOLUME_NAME:-grafana}
services:
grafana:
container_name: ${GRAFANA_CONTAINER_NAME:-grafana}
image: ${GRAFANA_IMAGE:-grafana/grafana:8.2.5}
2021-03-09 10:42:48 +01:00
restart: always
2021-02-24 16:42:15 +01:00
volumes:
- grafana:/var/lib/grafana
environment:
GF_SECURITY_ADMIN_USER: ${GF_SECURITY_ADMIN_USER:?err}
GF_SECURITY_ADMIN_PASSWORD: ${GF_SECURITY_ADMIN_PASSWORD:?err}
2021-11-26 16:36:37 +01:00
GF_SECURITY_DISABLE_GRAVATAR: ${GF_SECURITY_DISABLE_GRAVATAR:-true}
GF_SECURITY_COOKIE_SECURE: ${GF_SECURITY_COOKIE_SECURE:-true}
2021-02-24 16:42:15 +01:00
GF_USERS_ALLOW_SIGN_UP: ${GF_USERS_ALLOW_SIGN_UP:-false}
GF_INSTALL_PLUGINS: ${GF_INSTALL_PLUGINS}