Jenkins builds from apps.json, pushes to Forgejo registry, and archives Coolify image tags; compose installs all apps on first site creation.
40 lines
1.2 KiB
Bash
40 lines
1.2 KiB
Bash
# Copy to Coolify Environment Variables (Service > Environment).
|
|
# Image tags come from Jenkins (Forgejo container registry).
|
|
|
|
# Custom image built by Jenkins (apps: ERPNext, HRMS, Lending, LMS + payments)
|
|
CUSTOM_IMAGE=git.aexoradao.com/epistemophiliac/erpnext
|
|
CUSTOM_TAG=main
|
|
PULL_POLICY=always
|
|
|
|
# Frappe major line — must match apps.json branches (version-16)
|
|
FRAPPE_BRANCH=version-16
|
|
|
|
# MariaDB root password (required — change before production)
|
|
DB_PASSWORD=changeme
|
|
|
|
# Frappe site name — MUST match your Coolify domain
|
|
SITE_NAME=erp.example.com
|
|
|
|
# Frappe Administrator password
|
|
ADMIN_PASSWORD=changeme
|
|
|
|
# Nginx site header — for single-site Coolify, same as SITE_NAME
|
|
FRAPPE_SITE_NAME_HEADER=erp.example.com
|
|
|
|
# Apps installed on first site creation (comma-separated, order matters)
|
|
INSTALL_APPS=erpnext,payments,hrms,lending,lms
|
|
|
|
# Run bench migrate on every deploy (set false to skip)
|
|
MIGRATE_SITES=true
|
|
|
|
# Gunicorn tuning (optional)
|
|
GUNICORN_THREADS=4
|
|
GUNICORN_WORKERS=2
|
|
GUNICORN_TIMEOUT=120
|
|
|
|
# Proxy / upload limits (optional)
|
|
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
|