Added more variables for the application
This commit is contained in:
parent
43b0f88686
commit
7a99bbd06a
2 changed files with 14 additions and 4 deletions
|
@ -79,6 +79,13 @@ aws_access_key_id: ''
|
||||||
aws_secret_access_key: ''
|
aws_secret_access_key: ''
|
||||||
s3_alias_host: ''
|
s3_alias_host: ''
|
||||||
|
|
||||||
|
limited_federation_mode: 'false'
|
||||||
|
disabllow_unauthenticated_api_access: 'false'
|
||||||
|
single_user_mode: 'true'
|
||||||
|
|
||||||
|
web_concurrency: 2
|
||||||
|
max_threads: 5
|
||||||
|
default_locale: en
|
||||||
|
|
||||||
ubuntu_codename: "{{ ansible_distribution_release }}"
|
ubuntu_codename: "{{ ansible_distribution_release }}"
|
||||||
mastodon_db_login_unix_socket: postgresql # "/var/run/postgresql"
|
mastodon_db_login_unix_socket: postgresql # "/var/run/postgresql"
|
||||||
|
|
|
@ -6,20 +6,23 @@ NODE_ENV=production
|
||||||
LOCAL_DOMAIN={{ mastodon_host }}
|
LOCAL_DOMAIN={{ mastodon_host }}
|
||||||
|
|
||||||
# redirect to the first profile
|
# redirect to the first profile
|
||||||
SINGLE_USER_MODE=true
|
SINGLE_USER_MODE={{ single_user_mode }}
|
||||||
|
|
||||||
|
LIMITED_FEDERATION_MODE={{ limited_federation_mode }}
|
||||||
|
DISALLOW_UNAUTHENTICATED_API_ACCESS={{ disabllow_unauthenticated_api_access }}
|
||||||
|
|
||||||
# do not serve static files
|
# do not serve static files
|
||||||
RAILS_SERVE_STATIC_FILES=false
|
RAILS_SERVE_STATIC_FILES=false
|
||||||
|
|
||||||
# concurrency
|
# concurrency
|
||||||
WEB_CONCURRENCY=2
|
WEB_CONCURRENCY={{ web_concurrency }}
|
||||||
MAX_THREADS=5
|
MAX_THREADS={{ max_threads }}
|
||||||
|
|
||||||
# pgbouncer
|
# pgbouncer
|
||||||
#PREPARED_STATEMENTS=false
|
#PREPARED_STATEMENTS=false
|
||||||
|
|
||||||
# locale
|
# locale
|
||||||
DEFAULT_LOCALE=en
|
DEFAULT_LOCALE={{ default_locale }}
|
||||||
|
|
||||||
# email, not used
|
# email, not used
|
||||||
SMTP_SERVER={{ smtp_server }}
|
SMTP_SERVER={{ smtp_server }}
|
||||||
|
|
Loading…
Reference in a new issue