1
0
mirror of https://yerbamate.ml/nutomic/peertube.social synced 2024-11-24 21:28:20 -05:00
The configuration for peertube.social https://peertube.social
Go to file
2021-02-08 13:43:53 +01:00
files fix paths, dont write local-production.json 2020-09-15 12:48:32 +02:00
group_vars Add telegraf for monitoring 2020-07-04 21:58:43 +02:00
playbooks fix paths, dont write local-production.json 2020-09-15 12:48:32 +02:00
templates completely disable csp 2021-02-08 13:43:53 +01:00
.gitignore Add telegraf for monitoring 2020-07-04 21:58:43 +02:00
ansible.cfg Add deployment for test.peertube.social 2020-05-27 05:48:25 +02:00
LICENSE Add AGPL license 2019-05-15 12:00:52 +00:00
migration.sh Add comment to migration.sh 2019-05-15 14:03:49 +02:00
README.md Add deployment for test.peertube.social 2020-05-27 05:48:25 +02:00
test Add deployment for test.peertube.social 2020-05-27 05:48:25 +02:00

peertube.social

This repo contains the Ansible playbook and configuration used on peertube.social.

Use this repo to report any technical issues with peertube.social.

Usage

Just run one of the following commands:

# deploy to test.peertube.social
ansible-playbook -i test peertube.yml --ask-vault-pass
# deploy to peertube.social
ansible-playbook -i prod peertube.yml --ask-vault-pass

If you want to use this configuration for your own instance, you need to fork this repo and enter your own domain in prod and in group_vars/prod.yml. You also need to change the encrypted variables in the latter file. After that, you can run the playbook to deploy your instance.

File Overview

  • peertube.yml: The Ansible playbook, configures the server and copies config files
  • files/docker-daemon.json: Configuration for Docker, to limit stored logs
  • files/local-production.json: Peertube configuration, things like custom css, about page, transcoding options, etc
  • templates/docker-compose.yml.j2: List of Docker images and their versions
  • templates/env.j2: Various environment variables
  • templates/nginx.conf.j2: Config for the nginx reverse proxy
  • templates/peertube-production.yaml.j2: Peertube config, things like ports, email server, redundancy settings, etc