Standardize config.

This commit is contained in:
2026-05-23 19:51:33 +00:00
parent e2e3f730a5
commit 6b5325c6f3
87 changed files with 426 additions and 531 deletions

View File

@@ -22,7 +22,7 @@ spec:
type: RuntimeDefault
containers:
- name: web
image: {{ .image }}
image: ghcr.io/mastodon/mastodon:v4.5.3
securityContext:
allowPrivilegeEscalation: false
capabilities:
@@ -36,7 +36,7 @@ spec:
- config/puma.rb
ports:
- name: http
containerPort: {{ .webPort }}
containerPort: 3000
protocol: TCP
env:
- name: LOCAL_DOMAIN
@@ -85,13 +85,13 @@ spec:
name: mastodon-secrets
key: activeRecordKeyDerivationSalt
- name: DB_HOST
value: "{{ .dbHostname }}"
value: "{{ .db.host }}"
- name: DB_PORT
value: "{{ .dbPort }}"
value: "{{ .db.port }}"
- name: DB_NAME
value: "{{ .dbName }}"
value: "{{ .db.name }}"
- name: DB_USER
value: "{{ .dbUsername }}"
value: "{{ .db.user }}"
- name: DB_PASS
valueFrom:
secretKeyRef:
@@ -103,9 +103,9 @@ spec:
name: mastodon-secrets
key: postgres.password
- name: REDIS_HOST
value: "{{ .redisHostname }}"
value: "{{ .redis.host }}"
- name: REDIS_PORT
value: "{{ .redisPort }}"
value: "{{ .redis.port }}"
- name: REDIS_PASSWORD
valueFrom:
secretKeyRef:
@@ -125,9 +125,9 @@ spec:
- name: SMTP_FROM_ADDRESS
value: "{{ .smtp.from }}"
- name: SMTP_AUTH_METHOD
value: "{{ .smtp.authMethod }}"
value: "plain"
- name: SMTP_ENABLE_STARTTLS
value: "{{ .smtp.enableStarttls }}"
value: "auto"
- name: SMTP_TLS
value: "{{ .smtp.tls }}"
- name: STREAMING_API_BASE_URL