52 lines
1.7 KiB
Django/Jinja
52 lines
1.7 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 }}
|
|
|
|
# Application Settings
|
|
APP_ENV={{ app_env | default('production') }}
|
|
APP_DEBUG={{ app_debug | default('false') }}
|
|
APP_URL=https://{{ app_domain }}
|
|
|
|
# Database Configuration
|
|
# Using PostgreSQL from postgres stack
|
|
DB_HOST=postgres
|
|
DB_PORT={{ db_port | default('5432') }}
|
|
DB_DATABASE={{ db_name | default(db_name_default) }}
|
|
DB_USERNAME={{ db_user | default(db_user_default) }}
|
|
DB_PASSWORD={{ db_password }}
|
|
# Legacy variables (kept for backward compatibility)
|
|
DB_NAME={{ db_name | default(db_name_default) }}
|
|
DB_USER={{ db_user | default(db_user_default) }}
|
|
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') }}
|
|
|
|
# Git Repository Configuration (optional - if set, container will clone/pull code on start)
|
|
GIT_REPOSITORY_URL={{ git_repository_url | default('') }}
|
|
GIT_BRANCH={{ git_branch | default('main') }}
|
|
GIT_TOKEN={{ git_token | default('') }}
|
|
GIT_USERNAME={{ git_username | default('') }}
|
|
GIT_PASSWORD={{ git_password | default('') }}
|