Repository navigation
Conversation
…ications, Postgres, env vars) New `@alchemy.run/coolify` package on `@distilled.cloud/coolify`: - Coolify.Project, Coolify.Environment - Coolify.Application from `image`, `dockerfile` or a public `git` repo; deploys and waits for the deployment - Coolify.Database.Postgres - Coolify.EnvVar on applications, databases and services - Credentials via COOLIFY_TOKEN + COOLIFY_API_BASE_URL or an Alchemy profile Live tests in packages/integration-tests/test/Coolify run only with COOLIFY_TEST=1 against a dedicated instance. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Tests take the project and servers from config, create their own environment, and probe the typed 403s a scoped or non-admin token gets. Docs note the delete permission and the scoped-token limits. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
7 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
@alchemy.run/coolify: deploy to a self-hosted Coolify (or Coolify Cloud) from an Alchemy stack, on the existing@distilled.cloud/coolifySDK.Project,Environment,Application,Database.Postgres,EnvVarCOOLIFY_TEST_CREATE_PROJECTS=1); app, Postgres and env-var lifecycles need a server other than the Coolify host (COOLIFY_TEST_SERVER_UUID).submodules/distilledpins08a7e73a1: those patches on top of the distilled commitmainalready pins, on the fork branchjensdev/distilled:coolify-on-alchemy-pin. Once feat(cloudflare): add webSocketError to the Durable Object shape and bridge #1497 merges, the pin moves to the merged commit.Projects and environments
Every project starts with a
productionenvironment; declare others withEnvironment.Applications
The image comes from
imageordockerfile(path orDockerfile.inline), like every other Alchemy container resource; a publicgitrepository is the Coolify-specific third source.reconcilequeues a deploy and waits for it, failing with the build log tail.Postgres
Env vars
EnvVarmanages one variable on an application, database or compose service, apart from the resource.Ownership is the generated physical name: projects and environments have no tags, and Coolify tags are team-wide names that
POST /deploy?tag=deploys together, so stamping one per resource would widen tag deploys.Live results (Coolify v4.7.6, token limited to one test project)
Project.lookupfeeding a managed environment (destroy leaves the project)ActionNotAuthorized/TokenScopeForbiddenCoolifyHostRequiresAdminPOST /projects→ 403 "You are not authorized to perform this action."🤖 Generated with Claude Code