Optimized Mastodon for flock.town

This commit is contained in:
2025-02-20 00:31:47 +01:00
parent 5829edf23c
commit a70b0ed48f
6 changed files with 77 additions and 60 deletions

View File

@@ -11,7 +11,13 @@ This README and some parts of the code were created with the assistance of ChatG
Run the following command to generate a new configuration setup:
```bash
docker pull ghcr.io/mastodon/mastodon:latest
# Secret Generation
docker run --rm ghcr.io/mastodon/mastodon:latest bundle exec rails secret
docker run --rm ghcr.io/mastodon/mastodon:latest bundle exec rails secret
# Vapid Key Generation
docker run --rm ghcr.io/mastodon/mastodon:latest bundle exec rails mastodon:webpush:generate_vapid_key
# ACTIVE_RECORD_ENCRYPTION Generation
docker run --rm ghcr.io/mastodon/mastodon:latest bin/rails db:encryption:init
```
### 🔄 Setup with an Existing Configuration