Here is an example of a Grafana Docker Compose file that you can use to quickly deploy a Grafana instance.

---
#
# default login: admin admin
#
services:
  grafana:
    image: grafana/grafana:latest
    container_name: grafana
    restart: always
    user: '0'
    ports:
      - 3999:3000
    volumes:
      - CHANGE_TO_COMPOSE_DATA_PATH/grafana:/var/lib/grafana
    networks:
      - grafana
networks:
  grafana:
    name: grafana
    driver: bridge

Topics: Docker, Grafana