mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-10-31 10:19:09 +00:00 
			
		
		
		
	In between commit mastodon optimation and cleanup
This commit is contained in:
		| @@ -1,12 +1,37 @@ | ||||
| # Configuration file for mastodon | ||||
| # @see https://docs.joinmastodon.org/admin/config | ||||
| # @see https://github.com/mastodon/mastodon/blob/main/.env.production.sample | ||||
|  | ||||
|  | ||||
| LOCAL_DOMAIN={{domain}} | ||||
| ALTERNATE_DOMAINS="{{ domains.mastodon_alternates | join(',') }}" | ||||
| SINGLE_USER_MODE={{applications.mastodon.single_user_mode}} | ||||
| SECRET_KEY_BASE={{mastodon_secret_key_base}} | ||||
| OTP_SECRET={{mastodon_otp_secret}} | ||||
| VAPID_PRIVATE_KEY={{mastodon_vapid_private_key}} | ||||
| VAPID_PUBLIC_KEY={{mastodon_vapid_public_key}} | ||||
|  | ||||
| # Credentials | ||||
|  | ||||
| # Secrets | ||||
| # ------- | ||||
| # Make sure to use `bundle exec rails secret` to generate secrets | ||||
| # ------- | ||||
| SECRET_KEY_BASE=    {{mastodon.credentials.secret_key_base}} | ||||
| OTP_SECRET=         {{mastodon.credentials.otp_secret}} | ||||
|  | ||||
| # Web Push | ||||
| # -------- | ||||
| # Generate with `bundle exec rails mastodon:webpush:generate_vapid_key` | ||||
| # -------- | ||||
| VAPID_PRIVATE_KEY=  {{mastodon.credentials.vapid.private_key}} | ||||
| VAPID_PUBLIC_KEY=   {{mastodon.credentials.vapid.public_key}} | ||||
|  | ||||
| # Encryption secrets | ||||
| # ------------------ | ||||
| # Must be available (and set to same values) for all server processes | ||||
| # These are private/secret values, do not share outside hosting environment | ||||
| # Use `bin/rails db:encryption:init` to generate fresh secrets | ||||
| # Do NOT change these secrets once in use, as this would cause data loss and other issues | ||||
| ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY=     {{mastodon.credentials.active_record_encryption.deterministic_key}} | ||||
| ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT=   {{mastodon.credentials.active_record_encryption.key_derivation_salt}} | ||||
| ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY=           {{mastodon.credentials.active_record_encryption.primary_key}} | ||||
|  | ||||
| DB_HOST={{database_host}} | ||||
| DB_PORT={{database_port}} | ||||
| @@ -27,10 +52,6 @@ SMTP_OPENSSL_VERIFY_MODE=none | ||||
| SMTP_ENABLE_STARTTLS=auto | ||||
| SMTP_FROM_ADDRESS=Mastodon <{{system_email.from}}> | ||||
|  | ||||
| ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY= {{mastodon_active_record_encryption_deterministic_key}} | ||||
| ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT={{mastodon_active_record_encryption_key_derivation_salt}} | ||||
| ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY={{mastodon_active_record_encryption_primary_key}} | ||||
|  | ||||
| {% if oidc.enabled | bool %} | ||||
| ###################################  | ||||
| # OpenID Connect settings | ||||
|   | ||||
		Reference in New Issue
	
	Block a user