FitTrackee/.env.docker

41 lines
1.1 KiB
Docker
Raw Normal View History

2021-01-31 11:30:37 +01:00
# Custom variables initialisation
# Application
export FLASK_ENV=development
2021-01-31 11:30:37 +01:00
export FLASK_APP=fittrackee/__main__.py
2022-02-13 14:34:24 +01:00
export FLASK_SKIP_DOTENV=1
2021-01-31 11:30:37 +01:00
export APP_SETTINGS=fittrackee.config.DevelopmentConfig
export APP_SECRET_KEY='just for test'
# export APP_WORKERS=
export APP_LOG=fittrackee.log
2021-10-18 17:54:20 +02:00
export UPLOAD_FOLDER=/usr/src/app/uploads
2021-01-31 11:30:37 +01:00
# PostgreSQL
2021-04-06 13:15:26 +02:00
export DATABASE_URL=postgresql://fittrackee:fittrackee@fittrackee-db:5432/fittrackee
export DATABASE_TEST_URL=postgresql://fittrackee:fittrackee@fittrackee-db:5432/fittrackee_test
# export DATABASE_DISABLE_POOLING=
2021-01-31 11:30:37 +01:00
# Redis (required for API rate limits and email sending)
export REDIS_URL=redis://redis:6379
# API rate limits
2022-12-31 18:38:44 +01:00
# export API_RATE_LIMITS="300 per 5 minutes"
2021-01-31 11:30:37 +01:00
# Emails
export UI_URL=http://0.0.0.0:5000
2021-11-06 22:18:38 +01:00
# For development:
# export UI_URL=http://0.0.0.0:3000
export EMAIL_URL=smtp://mail:1025
2021-01-31 11:30:37 +01:00
export SENDER_EMAIL=fittrackee@example.com
export WORKERS_PROCESSES=2
2021-07-16 21:10:23 +02:00
# Workouts
# export TILE_SERVER_URL=
2022-12-31 18:38:44 +01:00
# export STATICMAP_SUBDOMAINS=
# export MAP_ATTRIBUTION=
# export DEFAULT_STATICMAP=False
2022-12-31 18:38:44 +01:00
# Weather
# available weather API providers: darksky, visualcrossing
# export WEATHER_API_PROVIDER=
# export WEATHER_API_KEY=