homelab/roles/mastodon/templates/mastodon.env.j2

50 lines
1.4 KiB
Text
Raw Normal View History

2024-09-29 18:04:34 +05:00
LOCAL_DOMAIN={{ local_domain }}
2024-10-15 00:24:44 +05:00
ALTERNATE_DOMAINS=mcomfyzeyibt2unmkttoxa2li2dzpsljcp3sasrioqsks4ayrl5kk2ad.onion
RAILS_LOG_LEVEL=warn
DEFAULT_LOCALE=ru
2024-09-29 18:04:34 +05:00
REDIS_HOST=redis-mastodon
REDIS_PORT=6379
CACHE_REDIS_HOST=redis-mastodon-cache
CACHE_REDIS_PORT=6379
DB_HOST={{ db_host }}
DB_USER={{ db_user }}
DB_NAME={{ db_name }}
DB_PASS={{ db_pass }}
DB_PORT={{ db_port }}
SECRET_KEY_BASE={{ secret_key_base }}
OTP_SECRET={{ otp_secret }}
VAPID_PRIVATE_KEY={{ vapid_private_key }}
VAPID_PUBLIC_KEY={{ vapid_public_key }}
SMTP_SERVER={{ smtp_server }}
SMTP_PORT={{ smtp_port }}
SMTP_LOGIN={{ smtp_login }}
SMTP_PASSWORD={{ smtp_password }}
SMTP_FROM_ADDRESS={{ smtp_from_address }}
SMTP_ENABLE_STARTTLS=always
2024-09-29 18:04:34 +05:00
S3_ENABLED=true
S3_ENDPOINT={{ s3_endpoint }}
S3_BUCKET={{ s3_bucket }}
AWS_ACCESS_KEY_ID={{ aws_access_key_id }}
AWS_SECRET_ACCESS_KEY={{ aws_secret_access_key }}
S3_PROTOCOL=https
S3_HOSTNAME={{ s3_hostname }}
2024-10-14 21:10:11 +05:00
ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY={{ active_record_encryption_deterministic_key }}
ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT={{ active_record_encryption_key_derivation_salt }}
ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY={{ active_record_encryption_primary_key }}
2024-10-19 00:11:30 +05:00
2024-10-20 15:03:25 +05:00
LDAP_ENABLED=true
LDAP_HOST=comfycamp.space
LDAP_PORT=389
LDAP_METHOD=start_tls
LDAP_BASE=DC=ldap,DC=goauthentik,DC=io
LDAP_BIND_DN=cn=ldapservice,ou=users,dc=ldap,dc=goauthentik,dc=io
LDAP_PASSWORD={{ ldap_password }}