Created
December 6, 2020 22:03
-
-
Save jamwaffles/bd6ee6f640ca3d3a1368e6519d752c3d to your computer and use it in GitHub Desktop.
Grafana + Postgres
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: | |
adminer: | |
image: adminer:4.7.7 | |
ports: | |
- "8081:8080" | |
networks: | |
- bbench | |
postgres: | |
image: postgres:12-alpine | |
networks: | |
- bbench | |
environment: | |
POSTGRES_PASSWORD: postgres | |
POSTGRES_USER: postgres | |
POSTGRES_DB: bbench | |
ports: | |
- 5433:5432 | |
volumes: | |
- postgres:/var/lib/postgresql/data | |
grafana: | |
image: grafana/grafana:7.2.1 | |
container_name: grafana | |
ports: | |
- 3000:3000 | |
networks: | |
- bbench | |
volumes: | |
- grafana-storage:/var/lib/grafana | |
networks: | |
bbench: | |
volumes: | |
grafana-storage: | |
postgres: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment