2023-02-27 22:48:27 +01:00
|
|
|
# Custom variables initialisation
|
|
|
|
# (can overwrite variables present in Makefile.config)
|
|
|
|
|
|
|
|
# Application
|
|
|
|
# export FLASK_APP=fittrackee
|
|
|
|
export FLASK_SKIP_DOTENV=1
|
|
|
|
# export HOST=
|
|
|
|
# export PORT=
|
|
|
|
# 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=
|
|
|
|
export APP_LOG=fittrackee.log
|
|
|
|
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=
|
|
|
|
|