erpnext/coolify.env.example
epistemophiliac 2aca11bb75 Use :main tag only and host sync instead of compose preload.
Remove image-preload service (compose creates all containers before it can run); Jenkins and sync-main-from-forgejo.sh load :main on the host internally.
2026-06-16 21:05:44 -04:00

35 lines
1.1 KiB
Text

# Paste into Coolify → erpnext service → Environment Variables
# --- Custom image (always :main = latest Jenkins build) ---
CUSTOM_IMAGE=git.aexoradao.com/epistemophiliac/erpnext
CUSTOM_TAG=main
PULL_POLICY=if_not_present
# --- Secrets (required — change before first deploy) ---
DB_PASSWORD=replace-with-strong-secret
ADMIN_PASSWORD=replace-with-strong-secret
# --- Domain (automatic — do NOT set unless overriding) ---
# 1. In Coolify UI: add domain on service "frontend", port 8080
# 2. Coolify sets SERVICE_FQDN_FRONTEND → compose uses it for SITE_NAME + nginx header
# 3. Deploy AFTER domain is assigned (first deploy creates the Frappe site)
#
# SITE_NAME=
# FRAPPE_SITE_NAME_HEADER=
# --- Apps installed on first site creation only (order matters) ---
INSTALL_APPS=erpnext,payments,hrms,lending,lms
# --- Redeploy behaviour ---
MIGRATE_SITES=true
RESTART_POLICY=unless-stopped
# --- Optional tuning ---
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