MakerWorks-v2-Worker
Docker 应用程序 from techpunk's repo
概述
Companion background worker for MakerWorks v2. This container consumes BullMQ image and model-preview jobs queued by the MakerWorks web app. Install MakerWorks Redis before starting this worker.
要求
MakerWorks-v2, makerworks-postgres, makerworks-redis, matching mapped storage, and Docker network makerworks-net.
运行时参数
- 网络
makerworks-net- 外壳
bash- 特权
- false
- 额外参数
--restart unless-stopped --add-host=host.docker.internal:host-gateway
模板配置
Storage PathPathrw
Persistent MakerWorks storage. Must match the MakerWorks-v2 web container mapping.
- 目标
- /app/storage
- 默认值
- /mnt/user/appdata/makerworks/storage
- 价值
- /mnt/user/appdata/makerworks/storage
Database URLVariable
PostgreSQL connection string. Must match MakerWorks-v2.
- 目标
- DATABASE_URL
- 默认值
- postgresql://postgres:change-this-password@makerworks-postgres:5432/makerworks?schema=public
- 价值
- postgresql://postgres:change-this-password@makerworks-postgres:5432/makerworks?schema=public
Redis URLVariable
Redis connection string used for BullMQ processing queues.
- 目标
- REDIS_URL
- 默认值
- redis://makerworks-redis:6379
- 价值
- redis://makerworks-redis:6379
Storage DirectoryVariable
Internal durable storage root.
- 目标
- STORAGE_DIR
- 默认值
- /app/storage
- 价值
- /app/storage
Queue AttemptsVariable
Queue retry attempts before dead-lettering.
- 目标
- PROCESSING_QUEUE_ATTEMPTS
- 默认值
- 5
- 价值
- 5
Queue Backoff MillisecondsVariable
Exponential retry backoff delay in milliseconds.
- 目标
- PROCESSING_QUEUE_BACKOFF_MS
- 默认值
- 5000
- 价值
- 5000
Image Worker ConcurrencyVariable
Parallel image-processing jobs consumed by this worker.
- 目标
- IMAGE_WORKER_CONCURRENCY
- 默认值
- 2
- 价值
- 2
Preview Worker ConcurrencyVariable
Parallel model-preview jobs consumed by this worker.
- 目标
- PREVIEW_WORKER_CONCURRENCY
- 默认值
- 1
- 价值
- 1
TimezoneVariable
Container timezone.
- 目标
- TZ
- 默认值
- Etc/UTC
- 价值
- Etc/UTC
详细信息
存储库
ghcr.io/schartrand77/mkw2:latest最后更新2026-05-31
初见2025-12-19
在Unraid 上运行 MakerWorks-v2-Worker 。
MakerWorks-v2-Worker 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。