2020-04-01 12:37:31 -04:00
|
|
|
# peertube.social
|
2019-04-10 15:43:16 -04:00
|
|
|
|
2020-04-01 12:51:42 -04:00
|
|
|
This repo contains the Ansible playbook and configuration used on [peertube.social](https://peertube.social).
|
2019-05-15 08:10:52 -04:00
|
|
|
|
2020-04-02 05:03:12 -04:00
|
|
|
Use this repo to report any technical issues with peertube.social.
|
|
|
|
|
2020-04-01 12:51:42 -04:00
|
|
|
## Usage
|
2019-05-16 14:05:38 -04:00
|
|
|
|
2020-04-01 12:51:42 -04:00
|
|
|
Just run the following command:
|
|
|
|
```
|
|
|
|
ansible-playbook peertube.yml --ask-vault-pass
|
|
|
|
```
|
2020-04-01 12:57:17 -04:00
|
|
|
|
|
|
|
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,
|
2020-04-02 05:03:12 -04:00
|
|
|
you can run the playbook to deploy your instance.
|
2020-04-02 05:22:12 -04:00
|
|
|
|
|
|
|
## 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
|