Skip to content

Instantly share code, notes, and snippets.

@pushp1997
Last active February 14, 2023 16:52
Show Gist options
  • Save pushp1997/637e29803a6e4bc2670374ac58952361 to your computer and use it in GitHub Desktop.
Save pushp1997/637e29803a6e4bc2670374ac58952361 to your computer and use it in GitHub Desktop.
version: "3"
services:
fastapi:
build: .
ports:
- "8000:80"
depends_on:
- loki
environment:
- LOKI_ENDPOINT=http://loki:3100/loki/api/v1/push
loki:
image: grafana/loki:latest
ports:
- "3100:3100"
grafana:
image: grafana/grafana:latest
ports:
- "3000:3000"
depends_on:
- loki
volumes:
- grafana_data:/var/lib/grafana
volumes:
grafana_data:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment