2023-02-27 22:48:27 +01:00
|
|
|
# Custom variables initialisation
|
|
|
|
# (can overwrite variables present in Makefile.config)
|
|
|
|
|
|
|
|
# Application
|
2023-03-02 20:27:53 +01:00
|
|
|
FLASK_APP=fittrackee
|
|
|
|
FLASK_SKIP_DOTENV=1
|
|
|
|
# HOST=
|
|
|
|
PORT=__PORT__
|
|
|
|
# APP_SETTINGS=fittrackee.config.ProductionConfig
|
|
|
|
APP_SECRET_KEY='__KEY__'
|
|
|
|
# APP_WORKERS=
|
|
|
|
APP_LOG=/var/log/__APP__/__APP__.log
|
|
|
|
UPLOAD_FOLDER=/home/yunohost.app/__APP__/data
|
2023-02-27 22:48:27 +01:00
|
|
|
|
|
|
|
# PostgreSQL
|
2023-03-02 20:27:53 +01:00
|
|
|
DATABASE_URL=postgresql://__DB_USER__:__DB_PWD__@:5432/__DB_NAME__
|
|
|
|
# DATABASE_DISABLE_POOLING=
|
2023-02-27 22:48:27 +01:00
|
|
|
|
|
|
|
# Redis (required for API rate limits and email sending)
|
2023-03-02 20:27:53 +01:00
|
|
|
REDIS_URL=redis://
|
2023-02-27 22:48:27 +01:00
|
|
|
|
|
|
|
# API rate limits
|
2023-03-02 20:27:53 +01:00
|
|
|
# API_RATE_LIMITS="300 per 5 minutes"
|
2023-02-27 22:48:27 +01:00
|
|
|
|
|
|
|
# Emails
|
2023-03-02 20:27:53 +01:00
|
|
|
UI_URL=__DOMAIN__
|
|
|
|
EMAIL_URL=__ADMIN_MAIL__
|
|
|
|
SENDER_EMAIL=__ADMIN_MAIL__
|
|
|
|
# WORKERS_PROCESSES=
|
2023-02-27 22:48:27 +01:00
|
|
|
|
|
|
|
# Workouts
|
2023-03-02 20:27:53 +01:00
|
|
|
# TILE_SERVER_URL=
|
|
|
|
# STATICMAP_SUBDOMAINS=
|
|
|
|
# MAP_ATTRIBUTION=
|
|
|
|
# DEFAULT_STATICMAP=False
|
2023-02-27 22:48:27 +01:00
|
|
|
|
|
|
|
# Weather
|
|
|
|
# available weather API providers: darksky, visualcrossing
|
2023-03-02 20:27:53 +01:00
|
|
|
# WEATHER_API_PROVIDER=visualcrossing
|
|
|
|
# WEATHER_API_KEY=
|
2023-02-27 22:48:27 +01:00
|
|
|
|