chore: docker-compose arm64

This commit is contained in:
mozzie 2023-10-11 08:59:59 +08:00
parent 90a3fd5861
commit 2ec9c401ba

View File

@ -4,12 +4,43 @@ services:
image: nats image: nats
container_name: tavi-nats container_name: tavi-nats
restart: always restart: always
command: -m 5000 command: -m 8222
ports: ports:
- "4222:4222" - "4222:4222"
- "6222:6222" - "6222:6222"
- "8222:8222" - "8222:8222"
nats_exporter:
image: noenv/nats-exporter:latest
command: -varz "http://nats:8222"
ports:
- "9999:7777"
container_name: tavi-nats-exporter
restart: always
depends_on:
- nats
prometheus:
image: prom/prometheus:latest
restart: always
container_name: tavi-prometheus
volumes:
- ./Prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
command:
- '--config.file=/etc/prometheus/prometheus.yml'
ports:
- "9090:9090"
depends_on:
- nats_exporter
grafana:
image: grafana/grafana:latest
container_name: tavi-grafana
ports:
- "9091:3000"
depends_on:
- prometheus
mongodb: mongodb:
image: mongo:5.0 image: mongo:5.0
container_name: tavi-mongo container_name: tavi-mongo