Draft for PeerTube docker description pageEdited
As promised, here is a slighlty updated doc for the docker part :-)
Hope it helps!
Federated (ActivityPub) video streaming platform using P2P (BitTorrent) directly in the web browser with WebTorrent.
Supported tags and respective
Peertube need a postgresql server and a redis server to be used. If you already have ones, you could reuse them without problems through environment variables.
An easier way to link containers is via
docker-compose, since we provide a
Note that if you use the
docker-composewith included postgres, you do not need to edit
DBvariables in the .env file.
To upgrade Peertube:
pull the new image via
restart the peertube service:
docker-compose restart peertube
if traefik, redis or postgres have also upgraded image, you can restart corresponding service if you want.
If you have edited the compose to change services names, you can get them with
docker-compose ps --services.
Use Peertube tools
Peertube has some useful tools you can use to manage your server.
Assuming you use default options inside your compose (eg: default services names and volumes) you could run any server command easily!
For example to create a trancoding-job:
docker-compose exec -e NODE_CONFIG_DIR=/config -e NODE_ENV=production peertube npm run create-transcoding-job -- -v [videoUUID]
To prune your storage:
docker-compose exec -e NODE_CONFIG_DIR=/config -e NODE_ENV=production peertube npm run prune-storage
You could use any Remote or Server tools using this.
- Read the FAQ first
- Read search through the existing open and solved issues for a similar problem
- Framacolibri: https://framacolibri.org/c/peertube
See the general admin documentation to learn configuration possibilities of PeerTube, as well as how to administrate your PeerTube instance.
Command line tools are available and also provide scripts to help you in some edge cases; beware they are available in the