-
Notifications
You must be signed in to change notification settings - Fork 0
/
mastodon.prod.env
66 lines (66 loc) · 2.45 KB
/
mastodon.prod.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
LOCAL_DOMAIN="photoprism.social"
SINGLE_USER_MODE="false"
# for SECRET_KEY_BASE run --
# docker run -it ghcr.io/mastodon/mastodon:v4.1.2@sha256:6b18e6d0eda476397d48cc36ac040b5da9c73503e374708a815a7f76db740576 bundle exec rake secret
SECRET_KEY_BASE=""
# for OTP_SECRET run --
# docker run -it ghcr.io/mastodon/mastodon:v4.1.2@sha256:6b18e6d0eda476397d48cc36ac040b5da9c73503e374708a815a7f76db740576 bundle exec rake secret
OTP_SECRET=""
# for vapid keys run --
# docker run -it ghcr.io/mastodon/mastodon:v4.1.2@sha256:6b18e6d0eda476397d48cc36ac040b5da9c73503e374708a815a7f76db740576 bundle exec rake mastodon:webpush:generate_vapid_key
VAPID_PRIVATE_KEY=""
VAPID_PUBLIC_KEY=""
DB_HOST="postgresql"
DB_PORT="5432"
DB_NAME="mastodon"
DB_USER="mastodon"
POSTGRES_USER="mastodon"
POSTGRES_DB="mastodon"
# for a safe password run -- pwgen -s 64 1
# (requires pwgen to be installed)
# POSTGRES_PASSWORD and DB_PASS should be the same
POSTGRES_PASSWORD=""
DB_PASS=""
REDIS_HOST="redis"
REDIS_PORT="6379"
DB_POOL="25" # needs to match concurrency in mastodon-sidekiq deployment.yaml
# elasticsearch
ES_JAVA_OPTS=-Xms512m -Xmx512m
# for a safe password run -- pwgen -s 64 1
ELASTIC_PASSWORD=""
# S3_ENABLED="true"
# S3_PROTOCOL="https"
# S3_REGION="us-east-1"
# S3_ENDPOINT="https://s3.photoprism.social"
# S3_HOSTNAME="s3.photoprism.social"
# S3_BUCKET="mastodon"
# AWS_ACCESS_KEY_ID="{{ .minio_mastodon_access_key }}"
# AWS_SECRET_ACCESS_KEY="{{ .minio_mastodon_secret_key }}"
# SMTP_SERVER="smtp.mailgun.org"
# SMTP_PORT="587"
# SMTP_LOGIN="{{ .mailgun_smtp_user }}"
# SMTP_PASSWORD="{{ .mailgun_smtp_password }}"
# SMTP_AUTH_METHOD="plain"
# SMTP_OPENSSL_VERIFY_MODE="peer"
# SMTP_ENABLE_STARTTLS="auto"
# SMTP_FROM_ADDRESS="Mastodon <notifications@photoprism.social>"
# DEEPL_PLAN="free"
# DEEPL_API_KEY="{{ .deepl_api_key }}"
# OIDC_ENABLED="true"
# OIDC_DISPLAY_NAME=authentik
# OIDC_DISCOVERY="true"
# OIDC_ISSUER="{{ .mastodon_oidc_issuer }}"
# OIDC_AUTH_ENDPOINT="{{ .mastodon_oidc_auth_endpoint }}"
# OIDC_SCOPE="{{ .mastodon_oidc_scope }}"
# OIDC_UID_FIELD="{{ .mastodon_oidc_uid_field }}"
# OIDC_CLIENT_ID="{{ .mastodon_oidc_client_id }}"
# OIDC_CLIENT_SECRET="{{ .mastodon_oidc_client_secret }}"
# OIDC_REDIRECT_URI="{{ .mastodon_oidc_redirect_uri }}"
# OIDC_SECURITY_ASSUME_EMAIL_IS_VERIFIED="true"
ES_ENABLED="true"
ES_HOST="elasticsearch"
ES_PORT="9200"
ES_USER=elastic
#ELASTIC_PASSWORD and ES_PASS should be the same
ES_PASS=""
# STATSD_ADDR="statsd-exporter.fediverse.svc.cluster.local:9125"