1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/fittrackee_ynh.git synced 2024-09-03 18:36:16 +02:00
fittrackee_ynh/conf/.env.production

118 lines
3.5 KiB
Text
Raw Normal View History

2022-12-22 21:35:42 +01:00
# SECURITY WARNING: keep the secret key used in production secret!
2023-01-17 21:49:12 +01:00
SECRET_KEY="__KEY__"
2022-12-22 21:35:42 +01:00
# SECURITY WARNING: don 't run with debug turned on in production!
2022-12-29 23:14:40 +01:00
DEBUG=false
USE_HTTPS=true
2022-12-22 21:35:42 +01:00
DOMAIN=__DOMAIN__
2023-01-17 21:49:12 +01:00
# Instance default language (see options at bookwyrm/settings.py "LANGUAGES"
LANGUAGE_CODE="__LANGUAGE__"
2022-12-22 21:35:42 +01:00
# Used for deciding which editions to prefer
DEFAULT_LANGUAGE="English"
## Leave unset to allow all hosts
2023-01-17 22:38:54 +01:00
#ALLOWED_HOSTS="localhost,127.0.0.1,[::1]"
2022-12-22 21:35:42 +01:00
2023-01-17 22:18:59 +01:00
MEDIA_ROOT=__DATADIR__/images/
2022-12-22 21:35:42 +01:00
# Database configuration
PGPORT=5432
POSTGRES_PASSWORD=__DB_PWD__
POSTGRES_USER=__DB_USER__
POSTGRES_DB=__DB_NAME__
POSTGRES_HOST=localhost
# Redis activity stream manager
MAX_STREAM_LENGTH=200
2022-12-30 01:02:38 +01:00
REDIS_ACTIVITY_HOST=localhost
2022-12-22 21:35:42 +01:00
REDIS_ACTIVITY_PORT=6379
2022-12-30 01:02:38 +01:00
REDIS_ACTIVITY_PASSWORD=
2022-12-22 21:35:42 +01:00
# Optional, use a different redis database (defaults to 0)
# REDIS_ACTIVITY_DB_INDEX=0
# Redis as celery broker
2022-12-30 01:02:38 +01:00
REDIS_BROKER_HOST=localhost
2022-12-22 21:35:42 +01:00
REDIS_BROKER_PORT=6379
2022-12-30 01:02:38 +01:00
REDIS_BROKER_PASSWORD=
2022-12-22 21:35:42 +01:00
# Optional, use a different redis database (defaults to 0)
# REDIS_BROKER_DB_INDEX=0
# Monitoring for celery
FLOWER_PORT=8888
FLOWER_USER=admin
FLOWER_PASSWORD=changeme
# Email config
EMAIL_HOST=localhost
EMAIL_PORT=587
2022-12-29 23:14:40 +01:00
EMAIL_HOST_USER=__ADMIN_MAIL__
EMAIL_HOST_PASSWORD=
2022-12-22 21:35:42 +01:00
EMAIL_USE_TLS=true
EMAIL_USE_SSL=false
EMAIL_SENDER_NAME=__ADMIN_MAIL__
# defaults to DOMAIN
#EMAIL_SENDER_DOMAIN=
# Query timeouts
SEARCH_TIMEOUT=5
QUERY_TIMEOUT=5
# Thumbnails Generation
ENABLE_THUMBNAIL_GENERATION=false
# S3 configuration
USE_S3=false
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
# Commented are example values if you use a non-AWS, S3-compatible service
# AWS S3 should work with only AWS_STORAGE_BUCKET_NAME and AWS_S3_REGION_NAME
# non-AWS S3-compatible services will need AWS_STORAGE_BUCKET_NAME,
# along with both AWS_S3_CUSTOM_DOMAIN and AWS_S3_ENDPOINT_URL
# AWS_STORAGE_BUCKET_NAME= # "example-bucket-name"
# AWS_S3_CUSTOM_DOMAIN=None # "example-bucket-name.s3.fr-par.scw.cloud"
# AWS_S3_REGION_NAME=None # "fr-par"
# AWS_S3_ENDPOINT_URL=None # "https://s3.fr-par.scw.cloud"
# Preview image generation can be computing and storage intensive
ENABLE_PREVIEW_IMAGES=False
# Specify RGB tuple or RGB hex strings,
# or use_dominant_color_light / use_dominant_color_dark
PREVIEW_BG_COLOR=use_dominant_color_light
# Change to #FFF if you use use_dominant_color_dark
PREVIEW_TEXT_COLOR=#363636
PREVIEW_IMG_WIDTH=1200
PREVIEW_IMG_HEIGHT=630
PREVIEW_DEFAULT_COVER_COLOR=#002549
# Below are example keys if you want to enable automatically
# sending telemetry to an OTLP-compatible service. Many of
# the main monitoring apps have OLTP collectors, including
# NewRelic, DataDog, and Honeycomb.io - consult their
# documentation for setup instructions, and what exactly to
# put below!
#
# Service name is an arbitrary tag that is attached to any
# data sent, used to distinguish different sources. Useful
# for sending prod and dev metrics to the same place and
# keeping them separate, for instance!
# API endpoint for your provider
OTEL_EXPORTER_OTLP_ENDPOINT=
# Any headers required, usually authentication info
OTEL_EXPORTER_OTLP_HEADERS=
# Service name to identify your app
OTEL_SERVICE_NAME=
# Set HTTP_X_FORWARDED_PROTO ONLY to true if you know what you are doing.
# Only use it if your proxy is "swallowing" if the original request was made
# via https. Please refer to the Django-Documentation and assess the risks
# for your instance:
# https://docs.djangoproject.com/en/3.2/ref/settings/#secure-proxy-ssl-header
2022-12-29 23:14:40 +01:00
HTTP_X_FORWARDED_PROTO=false