mirror of
https://github.com/vercel/workflow.git
synced 2026-09-14 19:59:43 +08:00
docs: add Eveland to community Worlds (#4069)
Signed-off-by: Michael Chen <mechiland@gmail.com>
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
---
|
||||
---
|
||||
@@ -369,6 +369,42 @@
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "eveland",
|
||||
"type": "community",
|
||||
"package": "@evelandhq/workflow-world",
|
||||
"name": "Eveland",
|
||||
"description": "Multi-tenant PostgreSQL World with an out-of-process dispatcher for scale-to-zero deployments.",
|
||||
"repository": "https://github.com/evelandhq/workflow-world",
|
||||
"docs": "https://github.com/evelandhq/workflow-world#readme",
|
||||
"features": [],
|
||||
"env": {
|
||||
"WORKFLOW_TARGET_WORLD": "@evelandhq/workflow-world",
|
||||
"WORKFLOW_WORLD_URL": "postgres://world:world@localhost:5432/world",
|
||||
"WORKFLOW_WORLD_TENANT_ID": "eveland-ci",
|
||||
"WORKFLOW_WORLD_DEPLOYMENT_ID": "eveland-ci-v1",
|
||||
"WORKFLOW_WORLD_RUNNER": "embedded"
|
||||
},
|
||||
"services": [
|
||||
{
|
||||
"name": "postgres",
|
||||
"image": "postgres:18-alpine",
|
||||
"ports": ["5432:5432"],
|
||||
"env": {
|
||||
"POSTGRES_USER": "world",
|
||||
"POSTGRES_PASSWORD": "world",
|
||||
"POSTGRES_DB": "world"
|
||||
},
|
||||
"healthCheck": {
|
||||
"cmd": "pg_isready",
|
||||
"interval": "10s",
|
||||
"timeout": "5s",
|
||||
"retries": 5
|
||||
}
|
||||
}
|
||||
],
|
||||
"setup": "pnpm exec workflow-world-setup && node --input-type=module -e 'import { createRequire } from \"node:module\"; import { ensureTenantPartitions } from \"@evelandhq/workflow-world\"; const { Pool } = createRequire(import.meta.resolve(\"@evelandhq/workflow-world\"))(\"pg\"); const pool = new Pool({ connectionString: process.env.WORKFLOW_WORLD_URL }); try { await ensureTenantPartitions(pool, process.env.WORKFLOW_WORLD_TENANT_ID); } finally { await pool.end(); }'"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user