This repository wants to make it as easy as possible to set up your own PeerTube instance.
- Create an account at https://fly.io/.
- Install the
flyCLI: https://fly.io/docs/ - Clone this repository and enter it with your terminal.
- Run
./launch.sh. When it's done, you'll see all configured secrets in the newly createdsecrets.txt. - Do the DNS setup according to the instructions output by fly.
The script will set up three components:
- A PostgreSQL database with, by default, just a single cluster and 10 GB storage.
- An Upstash-managed Redis database.
- The PeerTube web server.
If you don't want it anymore, just run ./destroy.sh.
- See https://github.com/Chocobozzz/PeerTube/blob/develop/support/docker/production/config/custom-environment-variables.yaml for all available PeerTube environment variables.
- To add environment variables manually, run
fly secrets --app peertube set VARIABLE=value. At the end, runfly deployto bring the changes live.