These steps are to run on the server you want to run owncast on. Ideally your server is running a flavour of Linux but these steps might work in WSL2 as well.
-
Install docker and docker-compose
-
Clone this repo and open a terminal at root of this dir.
-
Run the setup with the URL you will be using for owncast - you will need a DNS entry pointing to your server. Run the setup script, exporting the
OWNCAST_URLlike:OWNCAST_URL=live.example.com ./setup.shThis should create the docker networks and create the Caddyfile in ./caddy. You can add your email by updating the global options block at the top of ./caddy/Caddyfile. If you don't need the www.<your_domain> block you can remove this as well.
-
Run
docker-compose up -dor./start.shand check you can access the owncast instance.In case of any problems you can run
docker-compose logsto see what logs the containers are outputting.