pleroma/README.md

25 lines
1.6 KiB
Markdown
Raw Permalink Normal View History

# Pleroma/Akkoma role
2023-11-25 23:36:14 +01:00
Pleroma/Akkoma role was initially based on role by (Luke Hoersten)[https://src.nth.io/ansible-roles/file/2d705e63f6cb/pleroma/otp] with heavy modifications (basically re-written).
This role deploys and updates OTP akkoma (default) or pleroma instance. Currently supported distributions are debian based. Role requires Disroot's (nginx)[https://git.disroot.org/Disroot-Ansible/nginx] role and (postgresql)[https://github.com/ANXS/postgresql.git]. Other nginx / postgres roles could be used but may require changes in variables.
2021-11-14 14:56:49 +01:00
You can deploy test instance using `Vagrantfile` attached to the role.
`vagrant up`
2021-11-14 14:56:49 +01:00
`ansible-playbook -b Playbooks/pleroma.yml`
2021-11-14 14:56:49 +01:00
Then you can then access gitea from your computer on `http://192.168.33.15`
2021-11-14 14:56:49 +01:00
To update pleroma include `upgrade` **tag**.
2023-03-15 17:49:02 +01:00
2023-11-25 23:36:14 +01:00
## Frontend
This role also deploys Mangane as the default frontend (this can be changed with `pleroma_frontends` var). Mangane can be configured in `defaults/main.yml` (See the `# Mangane vars` section).
⚠️ If you have already deployed Mangane and have changed config from http://192.168.33.15/soapbox/config then you have to first remove this config from DB with `sudo -u pleroma /opt/pleroma/release/bin/pleroma_ctl config delete pleroma frontend_configurations`. Then run the role with `ansible-playbook -b Playbooks/pleroma.yml --tags upgrade`
2023-03-15 17:49:02 +01:00
## Customization
2023-11-25 23:36:14 +01:00
In the `files` folder, `avi.png` is the default user avatar. You can also changes logo that you can find there.
If you have already deployed but want to do any change, like change logo, avatar or a config, then run the role with `ansible-playbook -b Playbooks/pleroma.yml --tags upgrade`.