102 lines
3.6 KiB
Plaintext
102 lines
3.6 KiB
Plaintext
# ------------------------------------------------------------------------------
|
|
# AETHER FRAMEWORK - DOCKER ENVIRONMENT CONFIGURATION (TEMPLATE)
|
|
# ------------------------------------------------------------------------------
|
|
# Instructions: Copy this to .env and update the paths and credentials.
|
|
# ------------------------------------------------------------------------------
|
|
|
|
# System Settings
|
|
TZ=US/Eastern
|
|
OSIT_ENV=development
|
|
AE_LOG_LVL=warning
|
|
|
|
# Container Names
|
|
CONTAINER_WEB=ae_web_default
|
|
CONTAINER_AE_API=ae_api_default
|
|
CONTAINER_AE_APP=ae_app_default
|
|
CONTAINER_REDIS=ae_redis_default
|
|
CONTAINER_MARIADB=ae_mariadb_default
|
|
CONTAINER_PMA=ae_pma_default
|
|
|
|
# ------------------------------------------------------------------------------
|
|
# NETWORK & PROXY SETTINGS
|
|
# ------------------------------------------------------------------------------
|
|
# Local Nginx Ports
|
|
OSIT_WEB_HTTP_PORT=8080
|
|
OSIT_WEB_HTTPS_PORT=4443
|
|
OSIT_WEB_MAX_BODY_SIZE=5120M
|
|
|
|
# Gateway Port for External Reverse Proxy
|
|
AE_API_GATEWAY_PORT=5060
|
|
|
|
# DNS Overrides
|
|
DOCKER_AE_SERVER_EXTRA_HOST=example.oneskyit.com:127.0.0.1
|
|
DOCKER_AE_APP_SERVER_EXTRA_HOST=example-app.oneskyit.com:127.0.0.1
|
|
DOCKER_AE_API_SERVER_EXTRA_HOST=example-api.oneskyit.com:127.0.0.1
|
|
DOCKER_AE_DB_SERVER_EXTRA_HOST=db.oneskyit.com:127.0.0.1
|
|
|
|
# Nginx Server Names
|
|
DOCKER_AE_API_SERVER_NAME=example-api.oneskyit.com
|
|
DOCKER_AE_APP_SERVER_NAME=example-app.oneskyit.com
|
|
DOCKER_PHPMYADMIN_SERVER_NAME=example-phpmyadmin.oneskyit.com
|
|
DOCKER_OSIT_SERVER_NAME=example-docker.oneskyit.com
|
|
|
|
# ------------------------------------------------------------------------------
|
|
# DATABASE SETTINGS (MariaDB)
|
|
# ------------------------------------------------------------------------------
|
|
AE_DB_SERVER=mariadb
|
|
AE_DB_PORT=3306
|
|
AE_DB_NAME=aether_dev
|
|
AE_DB_USERNAME=osit_aether
|
|
AE_DB_PASSWORD="your-password-here"
|
|
|
|
# Connection Tuning
|
|
AE_DB_CONNECTION_TIMEOUT=15
|
|
AE_DB_POOL_RECYCLE=1800
|
|
|
|
# ------------------------------------------------------------------------------
|
|
# REDIS SETTINGS
|
|
# ------------------------------------------------------------------------------
|
|
AE_REDIS_SERVER=redis
|
|
AE_REDIS_PORT=6379
|
|
|
|
# ------------------------------------------------------------------------------
|
|
# API SETTINGS (FastAPI)
|
|
# ------------------------------------------------------------------------------
|
|
AE_API_ENV=development
|
|
AE_API_REPLICAS=2
|
|
AE_API_GUNICORN_PORT=5065
|
|
AE_API_GUNICORN_TIMEOUT=2100
|
|
AE_API_GUNICORN_WORKERS=2
|
|
AE_API_GUNICORN_THREADS=2
|
|
AE_API_JWT_KEY="your-22-char-secret-key"
|
|
AE_API_ORIGINS_REGEX="(https://.*\.oneskyit\.com)|(https://.*\.oneskyit\.com:4443)"
|
|
|
|
# ------------------------------------------------------------------------------
|
|
# APP SETTINGS (Legacy Flask)
|
|
# ------------------------------------------------------------------------------
|
|
AE_APP_ENV=development
|
|
AE_APP_GUNICORN_PORT=5055
|
|
AE_APP_CACHE_SECRET_KEY="your-secret-key"
|
|
AE_APP_SESSION_LIFETIME=86400
|
|
AE_APP_CACHE_TIMEOUT=5
|
|
|
|
# ------------------------------------------------------------------------------
|
|
# SOURCE PATHS (Absolute paths on Host)
|
|
# ------------------------------------------------------------------------------
|
|
# IMPORTANT: Update these to match your local filesystem
|
|
AE_API_SRC=/path/to/aether_api_fastapi
|
|
AE_APP_SRC=/path/to/aether_app_flask
|
|
HOSTED_FILES_SRC=/path/to/hosted_files
|
|
HOSTED_TMP_SRC=/path/to/hosted_tmp
|
|
|
|
# ------------------------------------------------------------------------------
|
|
# SERVICE TUNING
|
|
# ------------------------------------------------------------------------------
|
|
AE_PMA_PORT=8081
|
|
|
|
# MariaDB Performance
|
|
MARIADB_MAX_CONNECTIONS=500
|
|
MARIADB_INNODB_BUFFER_POOL_SIZE=512M
|
|
MARIADB_QUERY_CACHE_SIZE=32M
|
|
MARIADB_TMP_TABLE_SIZE=384M
|
|
MARIADB_TABLE_OPEN_CACHE=4000 |