Created
November 27, 2017 21:14
-
-
Save nilsmagnus/2dca53ebed0c3419d94e6cd33f084c62 to your computer and use it in GitHub Desktop.
docker compose for monitoring single app
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
autr: | |
build: . | |
ports: | |
- "8080:8080" | |
prometheus: | |
image: "prom/prometheus:v2.0.0" | |
ports: | |
- 9090:9090 | |
volumes: | |
- ./prometheus/:/etc/prometheus/ | |
command: | |
- '--config.file=/etc/prometheus/prometheus.yml' | |
depends_on: | |
- autr | |
grafana: | |
image: grafana/grafana | |
depends_on: | |
- prometheus | |
ports: | |
- 3000:3000 | |
environment: | |
- GF_SECURITY_ADMIN_PASSWORD=foobar |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment