2026-02-21 16:46:08 +13:00
|
|
|
# ============================================================
|
|
|
|
|
# Copy this file to .env and edit before running:
|
|
|
|
|
# cp .env.example .env
|
|
|
|
|
# ============================================================
|
|
|
|
|
|
|
|
|
|
# ------------------------------------------------------------
|
|
|
|
|
# MariaDB
|
|
|
|
|
# ------------------------------------------------------------
|
|
|
|
|
MARIADB_ROOT_PASSWORD=rootsecret
|
|
|
|
|
|
|
|
|
|
ARA_DATABASE_NAME=ara
|
|
|
|
|
ARA_DATABASE_USER=ara
|
|
|
|
|
ARA_DATABASE_PASSWORD=arasecret
|
|
|
|
|
|
|
|
|
|
# ------------------------------------------------------------
|
|
|
|
|
# ARA core
|
|
|
|
|
# ------------------------------------------------------------
|
2026-02-21 22:22:31 +13:00
|
|
|
# REQUIRED: generate with:
|
|
|
|
|
# python3 -c "import secrets; print(secrets.token_hex(50))"
|
|
|
|
|
# Without this, a new random key is generated on every container
|
|
|
|
|
# start — invalidating Django sessions and ARA's signed cookies.
|
|
|
|
|
ARA_SECRET_KEY=
|
2026-02-21 16:46:08 +13:00
|
|
|
|
|
|
|
|
# Timezone — controls BOTH crond scheduling AND ARA display times.
|
|
|
|
|
# Use a tz database name: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
|
|
|
|
|
# Examples: UTC, Pacific/Auckland, Australia/Sydney, Europe/London
|
|
|
|
|
TZ=Pacific/Auckland
|
|
|
|
|
|
|
|
|
|
# Comma-separated list of hostnames/IPs the server responds to
|
|
|
|
|
# Example: ARA_ALLOWED_HOSTS=["ara.example.com"]
|
|
|
|
|
ARA_ALLOWED_HOSTS=["*"]
|
|
|
|
|
|
|
|
|
|
ARA_LOG_LEVEL=INFO
|
|
|
|
|
|
|
|
|
|
# ------------------------------------------------------------
|
|
|
|
|
# Server tuning
|
|
|
|
|
# ------------------------------------------------------------
|
|
|
|
|
ARA_PORT=8000
|
|
|
|
|
ARA_GUNICORN_WORKERS=4
|
|
|
|
|
ARA_PAGE_SIZE=100
|
|
|
|
|
ARA_DATABASE_CONN_MAX_AGE=60
|
|
|
|
|
|
|
|
|
|
# ------------------------------------------------------------
|
|
|
|
|
# Security / auth (set to true to require login)
|
|
|
|
|
# ------------------------------------------------------------
|
|
|
|
|
ARA_READ_LOGIN_REQUIRED=false
|
|
|
|
|
ARA_WRITE_LOGIN_REQUIRED=false
|
|
|
|
|
|
|
|
|
|
# ------------------------------------------------------------
|
|
|
|
|
# Maintenance — automatic pruning via built-in cron
|
|
|
|
|
# ------------------------------------------------------------
|
|
|
|
|
# Delete playbooks older than this many days
|
|
|
|
|
ARA_PRUNE_DAYS=30
|
|
|
|
|
|
|
|
|
|
# Standard cron schedule — default: daily at 02:00
|
|
|
|
|
# Examples:
|
|
|
|
|
# every 6 hours -> 0 */6 * * *
|
|
|
|
|
# every day -> 0 2 * * *
|
|
|
|
|
ARA_PRUNE_CRON=0 2 * * *
|