You've already forked docker-ara
57 lines
1.9 KiB
Plaintext
57 lines
1.9 KiB
Plaintext
|
|
# ============================================================
|
||
|
|
# 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
|
||
|
|
# ------------------------------------------------------------
|
||
|
|
# IMPORTANT: replace with a long random string in production
|
||
|
|
ARA_SECRET_KEY=changeme_use_a_long_random_string
|
||
|
|
|
||
|
|
# 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 * * *
|