erpnext/example.env
epistemophiliac f2f7e6355d Wire Coolify domain to SITE_NAME and document env template
SERVICE_FQDN_FRONTEND from the frontend domain drives site creation and nginx
headers; coolify.env.example adds CUSTOM_IMAGE/CUSTOM_TAG for Jenkins registry pulls.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-16 20:34:44 -04:00

26 lines
810 B
Bash

# Reference for local testing (`docker compose --env-file example.env config`).
# For Coolify, use coolify.env.example — domain comes from SERVICE_FQDN_FRONTEND.
# Custom image (match latest Jenkins build — see dist/coolify-image.env)
CUSTOM_IMAGE=git.aexoradao.com/epistemophiliac/erpnext
CUSTOM_TAG=main
PULL_POLICY=always
RESTART_POLICY=unless-stopped
# Local-only overrides when not using Coolify magic vars
SITE_NAME=erp.example.com
FRAPPE_SITE_NAME_HEADER=erp.example.com
DB_PASSWORD=changeme
ADMIN_PASSWORD=changeme
INSTALL_APPS=erpnext,payments,hrms,lending,lms
MIGRATE_SITES=true
GUNICORN_THREADS=4
GUNICORN_WORKERS=2
GUNICORN_TIMEOUT=120
PROXY_READ_TIMEOUT=120
CLIENT_MAX_BODY_SIZE=50m
UPSTREAM_REAL_IP_ADDRESS=127.0.0.1
UPSTREAM_REAL_IP_HEADER=X-Forwarded-For
UPSTREAM_REAL_IP_RECURSIVE=off