homelab/roles/mastodon/templates/mastodon.env.j2
2024-09-29 18:04:34 +05:00

34 lines
772 B
Django/Jinja

LOCAL_DOMAIN={{ local_domain }}
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 }}
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 }}