- Create python method that returns Current year in json
- footer.html fetch year by {{ year }}
- Add PROJECT_VERSION in .env and .env.example file
- base.html and footer.html fetch current version by {{ config["PROJECT_VERSION"] }}
31 lines
692 B
Bash
31 lines
692 B
Bash
# Web application configuration
|
|
WEB_APP_PORT=5000
|
|
|
|
# Application configuration
|
|
PROJECT_VERSION=3.1.2
|
|
MAX_CONTENT_LENGTH=3145728
|
|
MAX_PENDING_TIME=600
|
|
MAX_STORE_TIME=259200
|
|
CLEAR_AT_RESTART=1
|
|
SKIP_IHDR_FILL=0
|
|
REMOVAL_MIN_AGE_SECONDS=300
|
|
|
|
# Flask configuration
|
|
FLASK_DEBUG=0
|
|
|
|
# Redis configuration
|
|
RQ_DASHBOARD_REDIS_URL=redis://redis:6379/0
|
|
|
|
# Database configuration
|
|
POSTGRES_DB=aperisolve
|
|
POSTGRES_USER=aperiuser
|
|
POSTGRES_PASSWORD=aperipass
|
|
DB_URI=postgresql://aperiuser:aperipass@postgres:5432/aperisolve
|
|
|
|
# Sentry configuration
|
|
SENTRY_DSN=https://your-dsn@sentry.io/project-id
|
|
SENTRY_TRACES_SAMPLE_RATE=0.1
|
|
SENTRY_PROFILES_SAMPLE_RATE=0.1
|
|
SENTRY_RELEASE=1.0.0
|
|
SENTRY_ENVIRONMENT=development
|