Add more app options

This commit is contained in:
Antonio J. Delgado 2022-11-22 14:23:26 +02:00
parent 010fa67a18
commit ce8d7a45fb
2 changed files with 11 additions and 0 deletions

View file

@ -13,6 +13,11 @@ vapid_private_key: "{{ vault_mastodon_vapid_private_key }}"
smtp_from_address: mastodon-admin@example.com
smtp_server: mail.example.com
mastodon_host: mastodon.example.com
mastodon_web_domain: example.com
mastodon_alternate_domains: ''
mastodon_authorized_fetch: 'false'
mastodon_limited_federation: 'false'
mastodon_default_locale: 'en'
#Use HTTP only for Vagrant testing or for reverse proxy purposes.
use_http: true
ansible_python_interpreter: "/usr/bin/python2"

View file

@ -4,12 +4,18 @@ NODE_ENV=production
# domain
LOCAL_DOMAIN={{ mastodon_host }}
WEB_DOMAIN={{ mastodon_web_domain }}
ALTERNATE_DOMAINS={{ mastodon_alternate_domains }}
AUTHORIZED_FETCH={{ mastodon_authorized_fetch }}
LIMITED_FEDERATION_MODE={{ mastodon_limited_federation }}
# redirect to the first profile
SINGLE_USER_MODE={{ single_user_mode }}
LIMITED_FEDERATION_MODE={{ limited_federation_mode }}
DISALLOW_UNAUTHENTICATED_API_ACCESS={{ disabllow_unauthenticated_api_access }}
DEFAULT_LOCALE={{ mastodon_default_locale }}
# do not serve static files
RAILS_SERVE_STATIC_FILES=false