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
2024-06-23 08:56:30 +02:00

40 lines
No EOL
1.1 KiB
Text

# Custom variables initialisation
# (can overwrite variables present in Makefile.config)
# Application
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
UPLOAD_FOLDER=__DATA_DIR__
# PostgreSQL
DATABASE_URL=postgresql://__DB_USER__:__DB_PWD__@:5432/__DB_NAME__
# DATABASE_DISABLE_POOLING=
# Redis (required for API rate limits and email sending)
REDIS_URL=redis://127.0.0.1:6379/__REDIS_DB__
# API rate limits
# API_RATE_LIMITS="300 per 5 minutes"
# Emails
UI_URL=__DOMAIN__
EMAIL_URL=smtp://__APP__:__MAIL_PWD__@__DOMAIN__:587/?tls=True
SENDER_EMAIL=__APP__@__DOMAIN__
# WORKERS_PROCESSES=
# Workouts
TILE_SERVER_URL=https://tile.openstreetmap.org/{z}/{x}/{y}.png
MAP_ATTRIBUTION='&copy; <a href="http://www.openstreetmap.org/copyright" target="_blank" rel="noopener noreferrer">OpenStreetMap</a> contributors'
DEFAULT_STATICMAP=False
STATICMAP_SUBDOMAINS=''
# Weather
# available weather API providers: darksky, visualcrossing
WEATHER_API_PROVIDER=__WEATHER_API_PROVIDER__
WEATHER_API_KEY=__WEATHER_API_KEY__