增加新服务

This commit is contained in:
BryantHe
2023-05-29 16:10:41 +08:00
parent 0010b16233
commit 9e1401a651
5 changed files with 75 additions and 0 deletions

View File

@@ -3,6 +3,8 @@ version: "3"
services:
statsd-agent:
image: statsd/statsd:latest
hostname: "statsd-agent"
container_name: "statsd-agent"
restart: always
ports:
- "8125:8125/udp"
@@ -14,6 +16,7 @@ services:
statsd-exporter:
image: prom/statsd-exporter:latest
hostname: "statsd-exporter"
container_name: "statsd-exporter"
command: "--statsd.mapping-config=/tmp/statsd_mapping.yml"
ports:
- "9102:9102"