From 07eb4224910835d040e01f9a0b552fcb6c5d721e Mon Sep 17 00:00:00 2001 From: Owen Date: Tue, 4 Mar 2025 23:52:37 -0500 Subject: [PATCH] Add back metrics port for scripting --- install/config/crowdsec/docker-compose.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/install/config/crowdsec/docker-compose.yml b/install/config/crowdsec/docker-compose.yml index d03861d4..1a642ee8 100644 --- a/install/config/crowdsec/docker-compose.yml +++ b/install/config/crowdsec/docker-compose.yml @@ -22,5 +22,9 @@ services: - ./config/crowdsec_logs/syslog:/var/log/syslog:ro # syslog - ./config/crowdsec_logs:/var/log # crowdsec logs - ./config/traefik/logs:/var/log/traefik # traefik logs + ports: + - 6060:6060 # metrics endpoint for prometheus + expose: + - 6060 # metrics endpoint for prometheus restart: unless-stopped command: -t # Add test config flag to verify configuration \ No newline at end of file