51 lines
1.0 KiB
Plaintext
51 lines
1.0 KiB
Plaintext
|
# Quickly Run Misskey and Postgresql 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
|
||
|
* Daily Postgresql backups
|
||
|
|
||
|
### System Requirements
|
||
|
|
||
|
* Your own Domain Name
|
||
|
* Docker installed
|
||
|
* Cloudflare setup for your Domain Name (Or do certbot manually after the instance is up)
|
||
|
* Port 443 open on your firewall/router
|
||
|
|
||
|
### Getting Started
|
||
|
|
||
|
### 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 Misskey
|
||
|
|
||
|
```
|
||
|
docker-compose up -d
|
||
|
```
|
||
|
|
||
|
##### Get the URL of your domain to setup the Admin user
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|