obs-web is the easiest way to control OBS remotely.
$ docker-compose up -d $ curl http://127.0.0.1:5000