···77# strip the -cloudflare suffix from the url; we're on the git server we don't need to leave
88RUN export LOCAL_URL="$(echo $STREAMPLACE_URL | sed 's/-cloudflare//')" && echo "downloading $LOCAL_URL" && cd /usr/local/bin && curl -L "$LOCAL_URL" | tar xzv
99RUN streamplace self-test
1010+ENV SP_DATA_DIR=/var/lib/streamplace
1011CMD streamplace
···3939# If you have a multi-node cluster, they'll each need different public DNS names:
4040SP_SERVER_HOST=prod-nyc0.example.com
41414242+# If you don't want to syndicate everyone, add your list of allowed DIDs here:
4343+SP_ALLOWED_STREAMS=did:web:example.com,did:plc:rbvrr34edl5ddpuwcubjiost
4444+4245# Useful if your TLS cert and key aren't in the default
4346SP_TLS_CERT=/tls/tls.crt
4447SP_TLS_KEY=/tls/tls.key
···48514952Running Streamplace from a Docker image works great except for Docker
5053networking. Streamplace relies heavily on WebRTC for playback, which requires
5151-large numbers of ephemeral UDP ports to work properly. So, we reccomend using
5454+large numbers of ephemeral UDP ports to work properly. So, we recommend using
5255host networking. So that command would look something like:
53565457```shell
···5962 -e SP_HTTPS_ADDR=:443 \
6063 -e SP_SECURE=true \
6164 -e SP_BROADCASTER_HOST=example.com \
6565+ -e SP_ALLOWED_STREAMS=did:web:example.com,did:plc:rbvrr34edl5ddpuwcubjiost \
6666+ -v /var/lib/streamplace:/var/lib/streamplace \
6267 --net=host \
6368 oci.stream.place/streamplace
6469```