зеркало из https://github.com/mozilla/bugbug.git
60 строки
1.2 KiB
YAML
60 строки
1.2 KiB
YAML
version: '3.2'
|
|
services:
|
|
bugbug-http-service:
|
|
build:
|
|
context: .
|
|
image: mozilla/bugbug-http-service
|
|
environment:
|
|
- BUGBUG_BUGZILLA_TOKEN
|
|
- REDIS_URL=redis://redis:6379/0
|
|
- PORT=8000
|
|
- PULSE_USER
|
|
- PULSE_PASSWORD
|
|
- SENTRY_DSN
|
|
ports:
|
|
- target: 8000
|
|
published: 8000
|
|
protocol: tcp
|
|
mode: host
|
|
depends_on:
|
|
- redis
|
|
|
|
bugbug-http-service-bg-worker:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile.bg_worker
|
|
image: mozilla/bugbug-http-service-bg-worker
|
|
environment:
|
|
- BUGBUG_BUGZILLA_TOKEN
|
|
- REDIS_URL=redis://redis:6379/0
|
|
- BUGBUG_ALLOW_MISSING_MODELS
|
|
- BUGBUG_REPO_DIR
|
|
- SENTRY_DSN
|
|
depends_on:
|
|
- redis
|
|
|
|
bugbug-http-service-rq-dasboard:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
image: mozilla/bugbug-http-service-bg-worker
|
|
command:
|
|
- rq-dashboard
|
|
- "-u"
|
|
- "redis://redis:6379/0"
|
|
ports:
|
|
- target: 9181
|
|
published: 9181
|
|
protocol: tcp
|
|
mode: host
|
|
depends_on:
|
|
- redis
|
|
|
|
redis:
|
|
image: redis:4
|
|
ports:
|
|
- target: 6379
|
|
published: 6379
|
|
protocol: tcp
|
|
mode: host
|