peertube.social/README.md

19 lines
570 B
Markdown
Raw Normal View History

2019-04-10 19:43:16 +00:00
# Peertube setup with Ansible and Docker-Compose
## Setup
Configure your ssh connection in `inventory`.
2019-04-18 13:16:35 +00:00
Install Python and Ansible:
2019-04-10 19:43:16 +00:00
2019-04-18 13:16:35 +00:00
apt install python
2019-04-10 19:43:16 +00:00
pip2 install ansible
Run the playbook:
ansible-playbook --become -K peertube.yml
It will prompt for root password to escalate privileges through `sudo`.
2019-04-18 13:16:35 +00:00
Note: If you run this on an existing server, make sure the file `passwords/*your-server*/postgres` exists and contains the correct password. Otherwise Ansible will change the password in Peertube, and it won't be able to connect to the database.