MVP, working sentry scraper

This commit is contained in:
Mike Conrad
2025-05-18 20:44:42 -04:00
parent a34b0899ce
commit 8ea49772df
29 changed files with 724 additions and 481 deletions

36
docker-compose.yml Normal file
View File

@ -0,0 +1,36 @@
name: sentry
services:
reverse-proxy:
image: traefik:latest
command: --api.insecure=true --providers.docker
ports:
- 80:80
- 8080:8080
volumes:
# So that Traefik can listen to the Docker events
- /var/run/docker.sock:/var/run/docker.sock
scraper:
# image: paragontruss.azurecr.io/sentry-scraper
build:
context: .
target: dev-deps
ports:
- 3333:3333
env_file: .env
volumes:
- backend_node_modules:/app/node_modules
- ./:/app
command: node ace serve --watch
labels:
- "traefik.http.routers.backend.rule=Host(`sentry.docker.localhost`)"
db:
image: postgres:16
environment:
- POSTGRES_PASSWORD=password
grafana:
image: grafana/grafana:latest
labels:
- "traefik.http.routers.grafana.rule=Host(`grafana.docker.localhost`)"
volumes:
backend_node_modules: {}