Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 851 Bytes

DOCKER_DEVELOPMENT.md

File metadata and controls

17 lines (11 loc) · 851 Bytes

Developing using docker

To run/test/develop using docker, make sure you have docker installed. Run the following command to start simulations of SRT and RTMP streamings, and a bash session where you can run commands such as you'd in your local machine.

make run-docker-dev

While you're inside the container, you can start/stop/restart the donut server.

make run-server-inside-docker

You can access http://localhost:8080/demo/, using preferable the Chrome browser. You can connect to the simulated SRT and see donut working in practice.

You can work and change files locally, on your OS, and restart CTRL+C + make run-server-inside-docker the donut server in the container. It's fast since it avoids rebuilding all images. It'll offer a faster feedback cycle while developing.