mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Huge role refactoring/cleanup. Other commits will propably follow. Because some bugs will exist. Still important for longrun and also for auto docs/help/slideshow generation
This commit is contained in:
22
roles/web-app-mastodon/Installation.md
Normal file
22
roles/web-app-mastodon/Installation.md
Normal file
@@ -0,0 +1,22 @@
|
||||
# ⚙️ Configuration & Setup
|
||||
|
||||
## 🔧 Create Credentials
|
||||
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
|
||||
```bash
|
||||
docker-compose run --rm web bundle exec rails db:migrate
|
||||
```
|
||||
|
||||
## 🔐 OIDC (OpenID Connect) Authentication Support
|
||||
This Mastodon role now **fully supports OpenID Connect (OIDC)**, allowing seamless authentication via identity providers like **Keycloak, Auth0, Google, or other OIDC-compliant services**.
|
Reference in New Issue
Block a user