56 lines
1.6 KiB
YAML
56 lines
1.6 KiB
YAML
name: mastodon
|
|
is: mastodon
|
|
description: Mastodon is a free, open-source social network server based on ActivityPub.
|
|
version: 4.5.3-2
|
|
icon: https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/mastodon.svg
|
|
requires:
|
|
- name: postgres
|
|
- name: redis
|
|
- name: smtp
|
|
defaultConfig:
|
|
namespace: mastodon
|
|
externalDnsDomain: '{{ .cloud.domain }}'
|
|
domain: mastodon.{{ .cloud.domain }}
|
|
locale: en
|
|
singleUserMode: false
|
|
assetsStorage: 10Gi
|
|
systemStorage: 100Gi
|
|
tlsSecretName: wildcard-wild-cloud-tls
|
|
sidekiq:
|
|
replicas: 1
|
|
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 }}"
|
|
- key: otpSecret
|
|
default: "{{ random.AlphaNum 128 }}"
|
|
- key: vapidPrivateKey
|
|
# Generated by vapid-init-job.yaml on first deploy
|
|
- key: vapidPublicKey
|
|
# Generated by vapid-init-job.yaml on first deploy
|
|
- key: activeRecordPrimaryKey
|
|
default: "{{ random.AlphaNum 32 }}"
|
|
- key: activeRecordDeterministicKey
|
|
default: "{{ random.AlphaNum 32 }}"
|
|
- key: activeRecordKeyDerivationSalt
|
|
default: "{{ random.AlphaNum 32 }}"
|
|
- key: dbPassword
|
|
- key: smtpPassword
|
|
requiredSecrets:
|
|
- postgres.password
|
|
- redis.password
|