2020-09-19 13:56:14 +02:00
|
|
|
# Custom variables initialisation
|
|
|
|
# (can overwrite variables present in Makefile.config)
|
|
|
|
|
|
|
|
# Application
|
|
|
|
# export FLASK_APP=fittrackee
|
2022-02-13 14:34:24 +01:00
|
|
|
export FLASK_SKIP_DOTENV=1
|
2020-09-19 13:56:14 +02:00
|
|
|
# export HOST=
|
|
|
|
# export PORT=
|
|
|
|
# export APP_SETTINGS=fittrackee.config.ProductionConfig
|
2021-07-17 12:33:11 +02:00
|
|
|
export APP_SECRET_KEY='please change me'
|
2020-09-19 13:56:14 +02:00
|
|
|
# export APP_WORKERS=
|
|
|
|
export APP_LOG=fittrackee.log
|
|
|
|
export UPLOAD_FOLDER=
|
|
|
|
|
2022-09-17 19:36:03 +02:00
|
|
|
# PostgreSQL
|
2021-04-06 13:15:26 +02:00
|
|
|
# export DATABASE_URL=postgresql://fittrackee:fittrackee@${HOST}:5432/fittrackee
|
2021-07-17 12:33:11 +02:00
|
|
|
# export DATABASE_DISABLE_POOLING=
|
2020-09-19 13:56:14 +02:00
|
|
|
|
2022-09-17 19:36:03 +02:00
|
|
|
# Redis (required for API rate limits and email sending)
|
|
|
|
# export REDIS_URL=
|
|
|
|
|
|
|
|
# API rate limits
|
|
|
|
# export API_RATE_LIMITS=300 per 5 minutes
|
|
|
|
|
2020-09-19 13:56:14 +02:00
|
|
|
# Emails
|
|
|
|
export UI_URL=
|
|
|
|
export EMAIL_URL=
|
|
|
|
export SENDER_EMAIL=
|
|
|
|
# export WORKERS_PROCESSES=
|
|
|
|
|
2021-07-16 21:10:23 +02:00
|
|
|
# Workouts
|
2021-07-17 12:33:11 +02:00
|
|
|
# export TILE_SERVER_URL=
|
2022-07-13 10:47:03 +02:00
|
|
|
# export STATICMAP_SUBDOMAINS=
|
2021-07-17 12:33:11 +02:00
|
|
|
# export MAP_ATTRIBUTION=
|
|
|
|
# export DEFAULT_STATICMAP=False
|
2022-11-07 08:33:50 +01:00
|
|
|
|
2022-11-17 00:13:43 +01:00
|
|
|
# Weather
|
|
|
|
# available weather API providers: darksky, visualcrossing
|
|
|
|
# export WEATHER_API_PROVIDER=
|
2021-07-17 12:33:11 +02:00
|
|
|
# export WEATHER_API_KEY=
|