40 lines
1.3 KiB
Django/Jinja
40 lines
1.3 KiB
Django/Jinja
# Application Stack Environment Configuration
|
|
# Generated by Ansible - DO NOT EDIT MANUALLY
|
|
|
|
# Timezone
|
|
TZ={{ timezone | default('Europe/Berlin') }}
|
|
|
|
# Application Domain
|
|
APP_DOMAIN={{ app_domain | default('michaelschiemer.de') }}
|
|
|
|
# Application Settings
|
|
APP_ENV={{ app_env | default('production') }}
|
|
APP_DEBUG={{ app_debug | default('false') }}
|
|
APP_URL=https://{{ app_domain | default('michaelschiemer.de') }}
|
|
|
|
# Database Configuration
|
|
# Using PostgreSQL from postgres stack
|
|
DB_HOST=postgres
|
|
DB_PORT={{ db_port | default('5432') }}
|
|
DB_NAME={{ db_name | default('michaelschiemer') }}
|
|
DB_USER={{ db_user | default('postgres') }}
|
|
DB_PASS={{ db_password }}
|
|
|
|
# Redis Configuration
|
|
# Redis runs in this stack
|
|
REDIS_PASSWORD={{ redis_password }}
|
|
|
|
# Cache Configuration
|
|
CACHE_DRIVER={{ cache_driver | default('redis') }}
|
|
CACHE_PREFIX={{ cache_prefix | default('app') }}
|
|
|
|
# Session Configuration
|
|
SESSION_DRIVER={{ session_driver | default('redis') }}
|
|
SESSION_LIFETIME={{ session_lifetime | default('120') }}
|
|
|
|
# Queue Worker Configuration
|
|
QUEUE_DRIVER={{ queue_driver | default('redis') }}
|
|
QUEUE_CONNECTION={{ queue_connection | default('default') }}
|
|
QUEUE_WORKER_SLEEP={{ queue_worker_sleep | default('3') }}
|
|
QUEUE_WORKER_TRIES={{ queue_worker_tries | default('3') }}
|
|
QUEUE_WORKER_TIMEOUT={{ queue_worker_timeout | default('60') }} |