2021-01-31 11:30:37 +01:00
|
|
|
# Custom variables initialisation
|
|
|
|
|
|
|
|
# Application
|
|
|
|
export FLASK_APP=fittrackee/__main__.py
|
|
|
|
# export HOST=
|
|
|
|
# export PORT=
|
|
|
|
export APP_SETTINGS=fittrackee.config.DevelopmentConfig
|
|
|
|
export APP_SECRET_KEY='just for test'
|
|
|
|
# export APP_WORKERS=
|
|
|
|
export APP_LOG=fittrackee.log
|
|
|
|
export UPLOAD_FOLDER=/usr/src/app/uploads
|
|
|
|
|
|
|
|
# Database
|
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
|
2021-01-31 11:30:37 +01:00
|
|
|
export DATABASE_DISABLE_POOLING=
|
|
|
|
|
|
|
|
# Emails
|
|
|
|
export UI_URL=http://0.0.0.0:5000
|
|
|
|
export EMAIL_URL=smtp://none:none@mail:1025
|
|
|
|
export SENDER_EMAIL=fittrackee@example.com
|
|
|
|
export REDIS_URL=redis://redis:6379
|
|
|
|
export WORKERS_PROCESSES=2
|
|
|
|
|
2021-07-16 21:10:23 +02:00
|
|
|
# Workouts
|
2021-01-31 11:30:37 +01:00
|
|
|
#export TILE_SERVER_URL=
|
|
|
|
#export MAP_ATTRIBUTION=
|
2021-07-16 21:10:23 +02:00
|
|
|
#export DEFAULT_STATICMAP=False
|
2021-01-31 11:30:37 +01:00
|
|
|
#export WEATHER_API_KEY=
|