Commit graph

14 commits

Author SHA1 Message Date
faf2d847cf Use SERVICE_URL_FRONTEND_8080 for Coolify Traefik routing
SERVICE_FQDN_FRONTEND_8080 is not generated when the domain is assigned
without a port suffix; Coolify needs SERVICE_URL_FRONTEND_8080 so Traefik
gets loadbalancer.server.port=8080 for Frappe nginx.
2026-06-16 22:24:44 -04:00
dad0d613fe Avoid $$host in compose env (breaks Coolify build-time.env)
Set FRAPPE_SITE_NAME_HEADER from currentsite.txt at frontend start
instead of FRAPPE_SITE_NAME_HEADER=$$host which Coolify writes as an
invalid $host= line in build-time.env.
2026-06-16 22:20:17 -04:00
7bdf4a0b9b Fix Coolify routing for Frappe frontend on port 8080
Use SERVICE_FQDN_FRONTEND_8080 so Traefik targets nginx:8080, pass
$$host to FRAPPE_SITE_NAME_HEADER, and healthcheck via currentsite.txt.
2026-06-16 22:19:01 -04:00
416b0f8109 Fix backend healthcheck for multi-site Frappe routing
Frappe returns 404 on /api/method/ping without a Host header matching
the site name. Pass SERVICE_FQDN_FRONTEND in healthchecks and drop
SITE_NAME env indirection that Coolify was caching as a literal.
2026-06-16 22:10:38 -04:00
cfee4fcfa3 Harden create-site deploy logs and Coolify env compatibility
Filter more bench install noise, set CI=1 to reduce progress spam, and
rely on compose defaults for SITE_NAME/FRAPPE_SITE_NAME_HEADER instead
of literal ${SERVICE_FQDN_FRONTEND} in Coolify env.
2026-06-16 22:01:55 -04:00
1ba0f85d0f Suppress DocType progress spam in deploy logs
First create-site floods Coolify with megabytes of progress output,
which can break the log UI and stall the deploy before backend starts.
Filter those lines in create-site and migrator; redeploy is fast once
the site already exists.
2026-06-16 21:57:13 -04:00
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
260aa8c7da Fix image-preload ordering so ERPNext waits for internal copy.
YAML merge was dropping depends_on; configurator started before skopeo loaded the image.
2026-06-16 21:02:02 -04:00
4126cbf737 Load ERPNext image internally on Coolify deploy via Skopeo.
Add image-preload init service on Forgejo Docker network, default PULL_POLICY never, and preload host docker after Jenkins push.
2026-06-16 20:58:32 -04:00
e73912541e Add Coolify host image preload for large registry pulls.
Document exit 255 during multi-hundred-MB layer downloads and default PULL_POLICY to if_not_present after preload.
2026-06-16 20:49:15 -04:00
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
cacbce384f Fix docker-compose for Coolify YAML re-parse rules.
Single-line if/fi in create-site, quoted env list form, and MariaDB healthcheck defaults per coolify-docker-compose skill.
2026-06-16 20:33:09 -04:00
17c2c5ead8 Add custom Frappe image build with HRMS, Lending, and LMS.
Jenkins builds from apps.json, pushes to Forgejo registry, and archives Coolify image tags; compose installs all apps on first site creation.
2026-06-16 19:10:17 -04:00
0c8d593d40 Add production ERPNext Coolify stack with CI gates
Single compose file for Coolify: MariaDB, Redis, idempotent site creation,
migrations on redeploy, SERVICE_URL_FRONTEND_8080 routing, and Forgejo Actions
readiness validation vendored from production-ci-readiness skill.
2026-06-16 17:52:02 -04:00