45 lines
1.5 KiB
Django/Jinja
45 lines
1.5 KiB
Django/Jinja
FUNKWHALE_API_IP=127.0.0.1
|
|
FUNKWHALE_API_PORT={{ funkwhale_api_port }}
|
|
FUNKWHALE_WEB_WORKERS=4
|
|
FUNKWHALE_HOSTNAME={{ funkwhale_subdomain }}.{{ domain_name }}
|
|
FUNKWHALE_PROTOCOL=https
|
|
|
|
EMAIL_CONFIG=consolemail://
|
|
#EMAIL_CONFIG=smtp+tls://{{ funkwhale_email_user }}:{{ funkwhale_mail_password }}@mail.gandi.net:587
|
|
DEFAULT_FROM_EMAIL={{ funkwhale_email_user }}
|
|
ACCOUNT_EMAIL_VERIFICATION_ENFORCE=false
|
|
DATABASE_URL=postgresql://funkwhale:{{ funkwhale_db_password }}@funkwhale_postgres:5432/funkwhale
|
|
|
|
REVERSE_PROXY_TYPE=nginx
|
|
|
|
CACHE_URL=redis://funkwhale_redis:6379/0
|
|
|
|
STATIC_ROOT={{ funkwhale_static_root }}
|
|
MUSIC_DIRECTORY_PATH={{ funkwhale_import_music_directory }}
|
|
# Dummy value for front container ; we have S3
|
|
MEDIA_ROOT=/media
|
|
|
|
DJANGO_SETTINGS_MODULE=config.settings.production
|
|
DJANGO_SECRET_KEY={{ funkwhale_secret_key }}
|
|
|
|
NGINX_MAX_BODY_SIZE={{ nginx_max_body_size}}
|
|
|
|
AWS_ACCESS_KEY_ID={{ scaleway_s3_id }}
|
|
AWS_SECRET_ACCESS_KEY={{ scaleway_s3_key }}
|
|
AWS_STORAGE_BUCKET_NAME=celiglyphe
|
|
# URL used to make changes
|
|
AWS_S3_ENDPOINT_URL=https://s3.fr-par.scw.cloud
|
|
# Base URL used to construct listening URLs (acts like a CDN, see Scaleway Edge Services)
|
|
# ⚠️ Scheme is https by default + no trailing slash
|
|
AWS_S3_CUSTOM_DOMAIN=files.chosto.me
|
|
AWS_S3_REGION_NAME=fr-par
|
|
# My bucket is public
|
|
AWS_QUERYSTRING_AUTH=false
|
|
AWS_DEFAULT_ACL=public-read
|
|
PROXY_MEDIA=false
|
|
EXTERNAL_MEDIA_PROXY_ENABLED=false
|
|
|
|
THROTTLING_ENABLED=false
|
|
EXTERNAL_REQUESTS_TIMEOUT=120
|
|
|
|
NGINX_MAX_BODY_SIZE=500M |