support cpumap for multi worker instances

This commit is contained in:
2025-12-08 10:08:02 +08:00
parent 66c4e739a2
commit 3df2307a08

View File

@@ -15,3 +15,6 @@ services:
- ./volume/worker:/srv/obsworker/state
restart: unless-stopped
privileged: true
{% if item.CPUSET is defined %}
cpuset: {{ item.CPUSET }}
{% endif %}