Add more app options
This commit is contained in:
parent
010fa67a18
commit
ce8d7a45fb
2 changed files with 11 additions and 0 deletions
|
@ -13,6 +13,11 @@ vapid_private_key: "{{ vault_mastodon_vapid_private_key }}"
|
||||||
smtp_from_address: mastodon-admin@example.com
|
smtp_from_address: mastodon-admin@example.com
|
||||||
smtp_server: mail.example.com
|
smtp_server: mail.example.com
|
||||||
mastodon_host: mastodon.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 only for Vagrant testing or for reverse proxy purposes.
|
||||||
use_http: true
|
use_http: true
|
||||||
ansible_python_interpreter: "/usr/bin/python2"
|
ansible_python_interpreter: "/usr/bin/python2"
|
||||||
|
|
|
@ -4,12 +4,18 @@ NODE_ENV=production
|
||||||
|
|
||||||
# domain
|
# domain
|
||||||
LOCAL_DOMAIN={{ mastodon_host }}
|
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
|
# redirect to the first profile
|
||||||
SINGLE_USER_MODE={{ single_user_mode }}
|
SINGLE_USER_MODE={{ single_user_mode }}
|
||||||
|
|
||||||
LIMITED_FEDERATION_MODE={{ limited_federation_mode }}
|
LIMITED_FEDERATION_MODE={{ limited_federation_mode }}
|
||||||
DISALLOW_UNAUTHENTICATED_API_ACCESS={{ disabllow_unauthenticated_api_access }}
|
DISALLOW_UNAUTHENTICATED_API_ACCESS={{ disabllow_unauthenticated_api_access }}
|
||||||
|
DEFAULT_LOCALE={{ mastodon_default_locale }}
|
||||||
|
|
||||||
# do not serve static files
|
# do not serve static files
|
||||||
RAILS_SERVE_STATIC_FILES=false
|
RAILS_SERVE_STATIC_FILES=false
|
||||||
|
|
Loading…
Reference in a new issue