EXPOSE 8080 in the image, publish 8080 in compose, document http_addr in the example config, and add the CPU/memory limits so a long encode can't starve the host.