mirror of
https://yerbamate.ml/nutomic/peertube.social
synced 2024-11-25 01:48:20 -05:00
Get it working on peertube.social
This commit is contained in:
parent
1069d95bba
commit
27626051bf
@ -4,8 +4,9 @@
|
||||
|
||||
Configure your ssh connection in `inventory`.
|
||||
|
||||
Install Ansible:
|
||||
Install Python and Ansible:
|
||||
|
||||
apt install python
|
||||
pip2 install ansible
|
||||
|
||||
Run the playbook:
|
||||
@ -13,3 +14,5 @@ Run the playbook:
|
||||
ansible-playbook --become -K peertube.yml
|
||||
|
||||
It will prompt for root password to escalate privileges through `sudo`.
|
||||
|
||||
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.
|
||||
|
@ -1,5 +1,6 @@
|
||||
[peertube]
|
||||
root@testing.peertube.social domain=testing.peertube.social
|
||||
felix@peertube.social domain=peertube.social
|
||||
|
||||
[all:vars]
|
||||
ansible_connection=ssh
|
||||
|
@ -8,5 +8,5 @@ PEERTUBE_SMTP_FROM=info@{{ domain }}
|
||||
PEERTUBE_SMTP_TLS=false
|
||||
PEERTUBE_ADMIN_EMAIL=info@{{ domain }}
|
||||
|
||||
POSTGRES_USER=peertube
|
||||
POSTGRES_USER=postgres
|
||||
POSTGRES_PASSWORD={{ postgres_password }}
|
||||
|
Loading…
Reference in New Issue
Block a user