docker-compose.yml 300 B

123456789101112131415
  1. version: '2'
  2. services:
  3. grafana:
  4. image: grafana/grafana:8.0.0
  5. ports:
  6. - 3000:3000
  7. container_name: grafana
  8. restart: on-failure
  9. volumes:
  10. - ./data/lib:/var/lib/grafana/:z
  11. logging:
  12. driver: 'json-file'
  13. options:
  14. max-size: '10m'
  15. max-file: '1'