Files
sentry-toolkit/docker-compose.yml
2025-05-19 12:09:05 -04:00

31 lines
790 B
YAML

name: sentry
services:
reverse-proxy:
image: traefik:latest
command: --api.insecure=true --providers.docker
ports:
- 80:80
- 8080:8080
volumes:
- /var/run/docker.sock:/var/run/docker.sock
scraper:
labels:
- "traefik.http.routers.scraper.rule=Host(`sentry.docker.localhost`)"
db:
image: postgres:16
environment:
- POSTGRES_PASSWORD=password
healthcheck:
test: ["CMD-SHELL", "pg_isready", "-d", "postgres"]
interval: 5s
timeout: 60s
retries: 5
start_period: 5s
grafana:
image: grafana/grafana:latest
labels:
- "traefik.http.routers.grafana.rule=Host(`grafana.docker.localhost`)"
redis:
image: redis:latest