mirror of
https://yerbamate.ml/nutomic/peertube.social
synced 2024-11-25 01:28:21 -05:00
17 lines
536 B
Markdown
17 lines
536 B
Markdown
# Peertube setup with Ansible and Docker-Compose
|
|
|
|
## Setup
|
|
|
|
Copy `inventory.example` to `inventory`, and configure the hosts you want to work with.
|
|
|
|
Install Python and Ansible:
|
|
|
|
apt install python
|
|
pip2 install ansible
|
|
|
|
Run the playbook:
|
|
|
|
ansible-playbook --become peertube.yml
|
|
|
|
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.
|