To add a new, unsupported streaming service:
- Create new configuration file(s) in the
services
/transformers
directories.- Examples: Twitch App and Twitch Transformer
- Add any necessary new environment variables to the
Dockerfile
andenv/relay.env
files. Ensure secrets such as stream keys and usernames are initialized as empty strings.- Examples: Dockerfile and env/relay.env
- Add the new service/transformer to the
app.conf
file and comment it out.- Example: app.conf
- Add a new shell script within the
scripts/preinit.d
directory to configure and enable the new service on startup. Scripts determine if a service should be enabled, check for errors, configure the service from environment variables, and finally enable the service in app.conf. Scripts are run sequentially in alphanumeric order. Ensure the script is executable.- Example: 90_configure_twitch.sh