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
2023-03-05 20:44:48 +01:00
UPLOAD_FOLDER=__DATA_DIR__
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__
2023-03-05 23:15:15 +01:00
# EMAIL_URL=
# SENDER_EMAIL=
2023-03-02 20:27:53 +01:00
# WORKERS_PROCESSES=
2023-02-27 22:48:27 +01:00
# Workouts
2023-03-07 13:27:17 +01:00
## Change default maps as per https://github.com/SamR1/FitTrackee/issues/313
TILE_SERVER_URL=https://{s}.tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png
MAP_ATTRIBUTION='fond de carte par <a href="http://www.openstreetmap.fr/mentions-legales/" target="_blank" rel="nofollow noopener">OpenStreetMap France</a>, sous <a href="http://creativecommons.org/licenses/by-sa/2.0/fr/" target="_blank" rel="nofollow noopener">licence CC BY-SA</a>'
2023-03-06 10:01:59 +01:00
# DEFAULT_STATICMAP=False
2023-03-07 13:27:17 +01:00
STATICMAP_SUBDOMAINS=a,b,c
2023-02-27 22:48:27 +01:00
# Weather
# available weather API providers: darksky, visualcrossing
2023-03-05 20:02:47 +01:00
WEATHER_API_PROVIDER=__WEATHER_PROVIDER__
WEATHER_API_KEY=__WEATHER_KEY__
2023-02-27 22:48:27 +01:00