forked from nutomic/peertube.social
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
![]() |
3 years ago | |
---|---|---|
files | 3 years ago | |
group_vars | 3 years ago | |
playbooks | 3 years ago | |
templates | 3 years ago | |
.gitignore | 3 years ago | |
LICENSE | 5 years ago | |
README.md | 4 years ago | |
ansible.cfg | 4 years ago | |
migration.sh | 5 years ago | |
test | 4 years ago |
README.md
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 filesfiles/docker-daemon.json
: Configuration for Docker, to limit stored logsfiles/local-production.json
: Peertube configuration, things like custom css, about page, transcoding options, etctemplates/docker-compose.yml.j2
: List of Docker images and their versionstemplates/env.j2
: Various environment variablestemplates/nginx.conf.j2
: Config for the nginx reverse proxytemplates/peertube-production.yaml.j2
: Peertube config, things like ports, email server, redundancy settings, etc