mirror of
https://github.com/elAgala/server-initializer.git
synced 2026-02-14 05:06:18 +00:00
- Add monitoring_network for prometheus instance - Add Crowdsec & Caddy scrapes - Install make as dependency - Add Makefile for easily executing caddy commands
27 lines
488 B
YAML
27 lines
488 B
YAML
services:
|
|
# PORT 9099
|
|
prometheus:
|
|
image: prom/prometheus:latest
|
|
container_name: prometheus
|
|
restart: always
|
|
volumes:
|
|
- ./prometheus.yml:/etc/prometheus/prometheus.yml
|
|
networks:
|
|
- monitoring_net
|
|
- caddy_net
|
|
|
|
# PORT 9100
|
|
node_exporter:
|
|
image: prom/node-exporter:latest
|
|
container_name: node-exporter
|
|
restart: always
|
|
networks:
|
|
- monitoring_net
|
|
|
|
networks:
|
|
monitoring_net:
|
|
external: true
|
|
caddy_net:
|
|
external: true
|
|
|