name: panopticon volumes: - name: grafana-storage - name: prometheus-storage ports: - host: 3100 container: 3000 - host: 9090 container: 9090 containers: - name: grafana image: grafana/grafana volumes: - name: grafana-storage container: /var/lib/grafana - name: prometheus image: prom/prometheus volumes: - name: prometheus-storage container: /prometheus - host: ./prometheus.yml container: /etc/prometheus/prometheus.yml extra-args: - --storage.tsdb.retention.time=60d - --storage.tsdb.path=/prometheus - --config.file=/etc/prometheus/prometheus.yml