pleroma/README.md

65 lines
1.5 KiB
Markdown
Raw Normal View History

2021-08-25 08:39:26 -06:00
# Quickly Run Pleroma in Docker
This setup will allow you to quickly run and maintain a Pleroma instance.
### Features
* Mostly Automated Install
* Automatic Backup
* Automatic Restore
* Automatic Upgrades
2021-11-02 14:20:44 -06:00
* Automatic install of SoapBoxFE
2021-08-25 08:39:26 -06:00
* Daily Postgresql backups
### System Requirements
* Your own Domain Name
* Docker installed
2021-11-02 14:24:25 -06:00
* Cloudflare setup for your Domain Name (Or do certbot manually after the instance is up)
2021-08-25 08:39:26 -06:00
* Port 443 open on your firewall/router
### Getting Started
##### Modify ```terms-of-service.html``` with your terms of service
##### Modify ```ENDPOINT``` in ```docker-compose.yml``` with your domain name
##### Modify the second to last line in ```pleroma/setup.sh``` with your desired admin name
2021-11-02 14:18:46 -06:00
##### Run ```get_pleroma.sh``` to get the latest Pleroma and SoapboxFE release
2021-08-25 08:39:26 -06:00
### Running with a low-memory machine? ###
Here is the recommended changes to make at the bottom of ```postgresql/postgresql.conf```
```
max_connections = 200
shared_buffers = 128MB
effective_cache_size = 384MB
maintenance_work_mem = 32MB
checkpoint_completion_target = 0.9
wal_buffers = 3932kB
default_statistics_target = 100
random_page_cost = 4
effective_io_concurrency = 2
work_mem = 327kB
min_wal_size = 1GB
max_wal_size = 4GB
```
##### Build and Start Pleroma
```
git checkout HEAD config/config.exs
docker-compose up -d
```
##### Get the URL to change the Pleromp Admin user
```
docker-compose logs -f
```
The URL will let you set the admin password so you can login your instance.