Standardize config.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
name: mastodon
|
||||
is: mastodon
|
||||
description: Mastodon is a free, open-source social network server based on ActivityPub.
|
||||
version: 4.5.3
|
||||
version: 4.5.3-2
|
||||
icon: https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/mastodon.svg
|
||||
requires:
|
||||
- name: postgres
|
||||
@@ -9,43 +9,30 @@ requires:
|
||||
- name: smtp
|
||||
defaultConfig:
|
||||
namespace: mastodon
|
||||
externalDnsDomain: "{{ .cloud.domain }}"
|
||||
timezone: UTC
|
||||
image: ghcr.io/mastodon/mastodon:v4.5.3
|
||||
streamingImage: ghcr.io/mastodon/mastodon-streaming:v4.5.3
|
||||
externalDnsDomain: '{{ .cloud.domain }}'
|
||||
domain: mastodon.{{ .cloud.domain }}
|
||||
locale: en
|
||||
singleUserMode: false
|
||||
# Database configuration
|
||||
dbHostname: "{{ .apps.postgres.host }}"
|
||||
dbPort: "{{ .apps.postgres.port }}"
|
||||
dbName: mastodon_production
|
||||
dbUsername: mastodon
|
||||
# Redis configuration
|
||||
redisHostname: "{{ .apps.redis.host }}"
|
||||
redisPort: "{{ .apps.redis.port }}"
|
||||
# Ports
|
||||
webPort: 3000
|
||||
streamingPort: 4000
|
||||
# Storage
|
||||
assetsStorage: 10Gi
|
||||
systemStorage: 100Gi
|
||||
# SMTP configuration
|
||||
smtp:
|
||||
enabled: "{{ .apps.smtp.host | ternary true false }}"
|
||||
server: "{{ .apps.smtp.host }}"
|
||||
port: "{{ .apps.smtp.port }}"
|
||||
from: notifications@{{ .cloud.domain }}
|
||||
user: "{{ .apps.smtp.user }}"
|
||||
authMethod: plain
|
||||
enableStarttls: auto
|
||||
tls: "{{ .apps.smtp.tls }}"
|
||||
# TLS
|
||||
tlsSecretName: wildcard-wild-cloud-tls
|
||||
# Sidekiq configuration
|
||||
sidekiq:
|
||||
replicas: 1
|
||||
concurrency: 25
|
||||
db:
|
||||
host: '{{ .apps.postgres.host }}'
|
||||
port: '{{ .apps.postgres.port }}'
|
||||
name: mastodon_production
|
||||
user: mastodon
|
||||
redis:
|
||||
host: '{{ .apps.redis.host }}'
|
||||
port: '{{ .apps.redis.port }}'
|
||||
smtp:
|
||||
enabled: '{{ .apps.smtp.host | ternary true false }}'
|
||||
server: '{{ .apps.smtp.host }}'
|
||||
port: '{{ .apps.smtp.port }}'
|
||||
from: notifications@{{ .cloud.domain }}
|
||||
user: '{{ .apps.smtp.user }}'
|
||||
tls: '{{ .apps.smtp.tls }}'
|
||||
defaultSecrets:
|
||||
- key: secretKeyBase
|
||||
default: "{{ random.AlphaNum 128 }}"
|
||||
|
||||
Reference in New Issue
Block a user