1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/fittrackee_ynh.git synced 2024-09-03 18:36:16 +02:00
fittrackee_ynh/conf/.env.production

42 lines
1 KiB
Text
Raw Normal View History

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__
2023-03-01 16:26:36 +01:00
# export DATABASE_DISABLE_POOLING=
2023-02-27 22:48:27 +01:00
# Redis (required for API rate limits and email sending)
2023-03-01 13:50:25 +01:00
export REDIS_URL=redis://
2023-02-27 22:48:27 +01:00
# API rate limits
# export API_RATE_LIMITS="300 per 5 minutes"
# Emails
export UI_URL=__DOMAIN__
2023-03-02 17:38:03 +01:00
export EMAIL_URL=localhost
export SENDER_EMAIL=__ADMIN_MAIL__
2023-02-27 22:48:27 +01:00
# 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=