recommand to use ubuntu and snapcraft.
sudo snap install docker
go install github.com/diy-cloud/compositor/compositor@latest
installing is able on any OS has go compiler, but will work on linux only.
<PWD>/cert.pem
is certificate file.
<PWD>/key.pem
is key file.
post request to http://<SERVER>:8888/register/:id
or https://<SERVER>:9999/register/:id
with image built by dockerfile.
and some client can request to http://<SERVER>:80/:id
or https://<SERVER>:443/:id
with any route or path variable, body, etc...
the image will be registered is a http server listening on 80 port.