docker-compose.yml to set resource constraints on the Openinary container.
Parameters
Parameter reference
Hard CPU cap in cores. The container cannot use more than this, even if the host has spare capacity.
2.0 (default) · 4.0 (video-heavy) · 1.0 (minimal) · 0.5 (bare minimum)Hard memory cap. Use
G for gigabytes, M for megabytes.4G (default) · 8G (video-heavy) · 2G (minimal)Minimum CPU guaranteed to the container under host load.
0.5 (default) · 1.0 · 2.0Minimum memory guaranteed to the container. Must be lower than
DOCKER_MEMORY_LIMIT.1G (default) · 2G · 512MConfiguration examples
- Default (4 GB server)
- Production (16 GB server)
- Minimal (1–2 GB server)
Related
Video Processing
Configure worker concurrency and job queue settings.
Deploy on Coolify
Full deployment guide with resource configuration.