panopticon/service.yml

27 lines
651 B
YAML
Raw Normal View History

2024-06-03 04:01:20 +00:00
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