This for your Puppet inspiration. Final implementation is up to you:
# Jan Garaj - www.monitoringartist.com
# Used Puppet module - https://github.com/garethr/garethr-docker
class { 'docker':
version => 'latest',
}->
docker::image { 'monitoringartist/grafana-xxl':
image_tag => 'latest',
}->
docker::run { 'grafana-xxl':
image => 'monitoringartist/grafana-xxl',
pull_on_start => true,
extra_parameters => ['--restart=unless-stopped'],
ports => ['3000'],
}
Devops Monitoring Expert, who loves monitoring systems, which start with letter Z. Those are Zabbix and Zenoss.
Professional devops / monitoring services: