Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.
TypeScript ai-agentsbill-of-materialserpinventory-managementleanmanufacturingmanufacturing-execution-systemmcp-servermesmrpopen-source-erppostgresqlproduction-planningqmsquality-management-systemreact-routerself-hostedsupabasetraceabilitytypescript
Fixed local dev inggest (#796)
Gaurav Bhatt2ff7b4217ff3
diff --git a/docker-compose.dev.yml b/docker-compose.dev.ymlindex d597f53df1..114cc01447 100644--- a/docker-compose.dev.yml+++ b/docker-compose.dev.yml@@ -251,7 +251,7 @@ services:SSL_CERT_FILE: /etc/ssl/certs/portless-ca.pemextra_hosts:- "host.docker.internal:host-gateway"- - "${DOMAIN}:host-gateway"+ - "${INNGEST_TLS_HOST}:host-gateway"volumes:- inngest:/data- ${HOME}/.portless/ca.pem:/etc/ssl/certs/portless-ca.pem:rodiff --git a/packages/dev/src/env.ts b/packages/dev/src/env.tsindex 8278fe9f43..182936c5b5 100644--- a/packages/dev/src/env.ts+++ b/packages/dev/src/env.ts@@ -82,6 +82,12 @@ export function renderEnv(opts: {lines.push(`INNGEST_SERVE_HOST=${portless ? `https://${host("erp")}` : local(ports.PORT_ERP)}`);+ // Hostname (no scheme) that docker-compose maps to host-gateway inside the+ // inngest container, so the SDK URL above resolves to the dev server on the+ // host. extra_hosts only accepts fully-qualified names — no wildcards —+ // which is why we can't reuse ${DOMAIN} (e.g. `main.dev` won't match the+ // `erp.main.dev` host the SDK URL points at).+ lines.push(`INNGEST_TLS_HOST=${portless ? host("erp") : "localhost"}`);lines.push("");return lines.join("\n");}