39 lines
1008 B
YAML
39 lines
1008 B
YAML
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`)"
|
|
redis:
|
|
image: redis:latest
|
|
|
|
volumes:
|
|
backend_node_modules: {} |