feat(promotion): configure worker containers with privileged mode + queue settings for manual promotion
This commit is contained in:
parent
bd662f6917
commit
30328e2871
2 changed files with 3 additions and 1 deletions
|
|
@ -86,6 +86,7 @@ services:
|
||||||
build: ./services/worker
|
build: ./services/worker
|
||||||
profiles: [worker]
|
profiles: [worker]
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
privileged: true
|
||||||
environment:
|
environment:
|
||||||
REDIS_URL: ${REDIS_URL}
|
REDIS_URL: ${REDIS_URL}
|
||||||
DATABASE_URL: ${DATABASE_URL}
|
DATABASE_URL: ${DATABASE_URL}
|
||||||
|
|
@ -95,6 +96,7 @@ services:
|
||||||
S3_SECRET_KEY: ${S3_SECRET_KEY}
|
S3_SECRET_KEY: ${S3_SECRET_KEY}
|
||||||
S3_REGION: ${S3_REGION:-us-east-1}
|
S3_REGION: ${S3_REGION:-us-east-1}
|
||||||
NVENC_ENABLED: ${NVENC_ENABLED:-false}
|
NVENC_ENABLED: ${NVENC_ENABLED:-false}
|
||||||
|
GROWING_PATH: /growing
|
||||||
networks:
|
networks:
|
||||||
- wild-dragon-worker
|
- wild-dragon-worker
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -133,7 +133,7 @@ services:
|
||||||
# after the capability-routing split, so import jobs sat unprocessed and
|
# after the capability-routing split, so import jobs sat unprocessed and
|
||||||
# assets stayed `ingesting` forever. import is concurrency-1 + network-
|
# assets stayed `ingesting` forever. import is concurrency-1 + network-
|
||||||
# bound, so one consumer (this heavy/primary worker) is sufficient.
|
# bound, so one consumer (this heavy/primary worker) is sufficient.
|
||||||
WORKER_QUEUES: proxy,conform,trim,import,playout-stage
|
WORKER_QUEUES: proxy,conform,trim,import,playout-stage,promotion
|
||||||
RUN_PROMOTION: "true"
|
RUN_PROMOTION: "true"
|
||||||
PROXY_CONCURRENCY: "2"
|
PROXY_CONCURRENCY: "2"
|
||||||
PLAYOUT_MEDIA_DIR: /media
|
PLAYOUT_MEDIA_DIR: /media
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue