panopticon/service.yml

38 lines
887 B
YAML
Raw Normal View History

2024-06-03 04:01:20 +00:00
name: panopticon
volumes:
- name: grafana-storage
- name: prometheus-storage
2024-06-12 03:09:55 +00:00
- name: loki-storage
2024-06-03 04:01:20 +00:00
ports:
2024-06-12 03:09:55 +00:00
# Grafana web
2024-06-03 04:01:20 +00:00
- host: 3100
container: 3000
2024-06-12 03:09:55 +00:00
# Loki
- host: 3101
container: 3100
# Prometheus
2024-06-03 04:01:20 +00:00
- host: 9090
container: 9090
containers:
- name: grafana
image: grafana/grafana
volumes:
- name: grafana-storage
container: /var/lib/grafana
2024-06-12 03:09:55 +00:00
- name: loki
image: grafana/loki:main-a08ee68 # Updated: 11/6/2024
volumes:
- name: loki-storage
container: /loki
2024-06-03 04:01:20 +00:00
- 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