Add dev overrides via compose
This commit is contained in:
@ -7,27 +7,20 @@
|
||||
- 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`)"
|
||||
- "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:
|
||||
@ -35,5 +28,3 @@
|
||||
redis:
|
||||
image: redis:latest
|
||||
|
||||
volumes:
|
||||
backend_node_modules: {}
|
Reference in New Issue
Block a user