1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-10 04:07:04 +02:00
dockerfiles/grafana/docker-compose.yml

18 lines
483 B
YAML
Raw Normal View History

2016-03-26 02:34:17 +02:00
grafana:
2016-12-07 03:03:31 +02:00
image: grafana/grafana
2016-03-26 02:34:17 +02:00
ports:
- "3000:3000"
2016-12-07 03:10:46 +02:00
volumes:
- ./data:/var/lib/grafana
2016-03-26 02:34:17 +02:00
environment:
2017-03-21 07:31:43 +02:00
- GF_SERVER_ROOT_URL=http://grafana.example.com:3000/
2016-03-26 02:34:17 +02:00
- GF_SECURITY_ADMIN_USER=admin
2016-03-26 09:46:59 +02:00
- GF_SECURITY_ADMIN_PASSWORD=admin
2017-03-21 07:31:43 +02:00
- GF_SMTP_ENABLED=true
- GF_SMTP_HOST=smtp.gmail.com:587
- GF_SMTP_USER=grafana@example.com
- GF_SMTP_FROM_ADDRESS=grafana@example.com
- GF_SMTP_PASSWORD=******
2018-01-27 09:24:28 +02:00
- GF_USERS_ALLOW_SIGN_UP=false
2016-03-26 02:34:17 +02:00
restart: always