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-02 20:27:53 +01:00
|
|
|
# TILE_SERVER_URL=
|
|
|
|
# STATICMAP_SUBDOMAINS=
|
|
|
|
# MAP_ATTRIBUTION=
|
2023-03-06 10:01:59 +01:00
|
|
|
# DEFAULT_STATICMAP=False
|
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
|
|
|
|