Skip to content

Instantly share code, notes, and snippets.

@b1a9id
Created May 14, 2021 05:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save b1a9id/817e5b25afd643813246d72fe64f9954 to your computer and use it in GitHub Desktop.
Save b1a9id/817e5b25afd643813246d72fe64f9954 to your computer and use it in GitHub Desktop.
micrometer-prometheusのdocker-compose.yml
version: '3'
services:
prometheus:
image: prom/prometheus
container_name: prometheus
volumes:
- ./prometheus:/etc/prometheus
command: "--config.file=/etc/prometheus/prometheus.yml"
ports:
- 9090:9090
restart: always
micrometer-prometheus-api:
image: micrometer-prometheus-api
container_name: micrometer-prometheus-api
ports:
- 18080:8080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment