Skip to content

Instantly share code, notes, and snippets.

@b1a9id

b1a9id/docker-compose.yml Secret

Created May 14, 2021
Embed
What would you like to do?
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