panopticon/service.yml

68 lines
1.6 KiB
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-09-30 03:13:58 +00:00
- name: tempo-data
build:
images:
- path: ./tempo.Dockerfile
tag: panopticon-tempo
- path: ./otel-collector.Dockerfile
tag: panopticon-otel-collector
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
2024-09-30 03:13:58 +00:00
- host: 3200
container: 3200
- host: 4318
container: 4618
- host: 4317
container: 4617
2024-06-03 04:01:20 +00:00
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
2024-09-30 03:13:58 +00:00
- name: otel-collector
image: panopticon-otel-collector:latest
- name: host-metrics-exporter
image: quay.io/prometheus/node-exporter:latest
network: host
pid-namespace: host
volumes:
- host: /
container: /host
readonly: true
extra-args:
- --path.rootfs=/host
2024-09-30 03:13:58 +00:00
- name: tempo
image: panopticon-tempo:latest
volumes:
- name: tempo-data
container: /var/tempo