Files
wild-directory/mastodon/versions/4/manifest.yaml

48 lines
1.2 KiB
YAML

version: 4.5.3-4
requires:
- name: postgres
- name: redis
- name: smtp
defaultConfig:
namespace: mastodon
domain: mastodon.{{ .cloud.domain }}
locale: en
singleUserMode: false
assetsStorage: 5Gi
systemStorage: 5Gi
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
- key: vapidPublicKey
- 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