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