IMPORTANT NOTE: OSP's Docker install is currently on the Beta 6d release due to the need to rework the Dockerfile for eJabberd for chat.
A Dockerfile has been provided for running OSP in a container. However due to the way NginX, Gunicorn, Flask, and Docker work, for OSP to work properly, the Frontend must be exposed using Port 80 or 443 and the RTSP port from OBS or other streaming software must be exposed on Port 1935.
This accomplished easily by using a reverse proxy in Docker such as Traefik. However, Port 1935 will not be proxied and must be mapped to the same port on the host.
An external Redis server/container is required to handling asynchronous communications between the internal Gunicorn worker instances.
Dockerhub URL: https://hub.docker.com/r/deamos/openstreamingplatform
docker pull deamos/openstreamingplatform
DB_URL: Sets the SQLAlchemy URL String for the used DB.
FLASK_SECRET: Flask Secret Key
FLASK_SALT: Flask User Salt Value
OSP_ALLOWREGISTRATION: Sets OSP to allow users to create accounts
OSP_REQUIREVERIFICATION: Sets New OSP user accounts to verify their email addresses
REDIS_HOST: Sets the Redis Instance IP/Hostname (REQUIRED)
REDIS_PORT: Sets the Redis Instance Port
REDIS_PASSWORD: Sets the Redis Instance Password, if needed
Beta 5a will add additional Environment Variable to pre-configure OSP without needing to run the "First Run" Configuration