Skip to content

Installing of PeerTube docker stack by one shell-command

Notifications You must be signed in to change notification settings

FalseIlyu/getpeer.tube

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

getpeer.tube

Installing of PeerTube docker stack by one SHELL command

curl https://getpeer.tube | sh

This script builds a PeerTube docker stack for production. It runs on most x86-64 linux distributions and brings:

Server requirements

  • x86-64 Linux Distribution updated
  • SSH access as root or sudoer user with sudo prefix
  • Access on port 25 (smtp), port 80 (http), port 443 (https) and port 1935 (rtmp)
  • A Domain Name pointing to this server
  • Docker >= v17.06

Upgrade an older version of the CLI

You simply need to re-run the main command, the script will automatically detect the docker stack already installed to only upgrade Docker Compose and CLI.

$ curl https://getpeer.tube | sh

Prerequisites \
 root OK
 systemd OK
 curl OK
 docker OK

Docker stack already exists in /var/peertube

Upgrading Compose and CLI only \
Checking latest release of Compose     ... done
Upgrading Docker Compose               ... done
 → from 1.28.3 to 1.29.2
Installing CLI into /usr/sbin/peertube ... done

Docker Compose and the CLI are now successfully upgraded!

Documentation

See the Documentation.

FAQ

What does the script do?

  • Installing or upgrading docker-compose
  • Building stack tree in /var/peertube with official config files
  • Creating systemd service
  • Generating first SSL certificate
  • Pulling images
  • Starting the stack
  • Exposing CLI server tools and more
  • Displaying DKIM TXT Record via CLI
  • Displaying admin-credentials via CLI
  • Upgrading stack via CLI after manual config merging/editing

What does the script not do?

  • Installing/Upgrading operating system
  • Installing/Upgrading docker
  • Configuring ports in your server firewall
  • Configuring server IP in your DNS Server Zone
  • Configuring postfix DKIM in your DNS Server Zone
  • Merging new releases changes of nginx, compose and .env files
  • Backup or restore stack

About

Installing of PeerTube docker stack by one shell-command

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%