Skip to main content
These variables are read by docker-compose.yml to set resource constraints on the Openinary container.

Parameters

ParameterDescription
DOCKER_CPU_LIMITHard CPU cap (cores)
DOCKER_MEMORY_LIMITHard memory cap
DOCKER_CPU_RESERVATIONMinimum guaranteed CPU
DOCKER_MEMORY_RESERVATIONMinimum guaranteed memory

Parameter reference

DOCKER_CPU_LIMIT
number
default:"2.0"
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)
DOCKER_MEMORY_LIMIT
string
default:"4G"
Hard memory cap. Use G for gigabytes, M for megabytes.4G (default) · 8G (video-heavy) · 2G (minimal)
If the container exceeds this limit it will be OOM-killed. Video processing is memory-intensive — allocate at least 2 GB, 4 GB recommended.
DOCKER_CPU_RESERVATION
number
default:"0.5"
Minimum CPU guaranteed to the container under host load.0.5 (default) · 1.0 · 2.0
DOCKER_MEMORY_RESERVATION
string
default:"1G"
Minimum memory guaranteed to the container. Must be lower than DOCKER_MEMORY_LIMIT.1G (default) · 2G · 512M

Configuration examples

DOCKER_CPU_LIMIT=2.0
DOCKER_MEMORY_LIMIT=4G
DOCKER_CPU_RESERVATION=0.5
DOCKER_MEMORY_RESERVATION=1G

Video Processing

Configure worker concurrency and job queue settings.

Deploy on Coolify

Full deployment guide with resource configuration.