feat: add apple-container runtime support#4959
Closed
jsj wants to merge 2 commits intosupabase:developfrom
Closed
Conversation
Add Apple Containers as an alternative runtime for Supabase CLI-managed services. Docker remains the default runtime, while apple-container can be selected anywhere the CLI manages the service lifecycle. The primary use case today is local development, but the runtime abstraction is not limited to that environment.
Enable the analytics stack when services run on the apple-container runtime. This adds an Apple-specific log ingestion path for Vector by forwarding container logs to host-side JSONL files and configuring Vector to read those files instead of Docker's log source. Docker behavior remains unchanged.
Pull Request Test Coverage Report for Build 23155552224Details
💛 - Coveralls |
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.
Summary
Add
apple-containeras an alternative runtime for Supabase CLI-managed services, with analytics support.Docker remains the default runtime. When
apple-containeris selected, the CLI uses Apple Containers for service lifecycle operations while preserving existing Docker behavior.What changed
--runtimeapple-containerNotes
apple-containeruses file-backed log ingestion instead of Docker log sourcesValidation
go test ./internal/utils ./internal/start ./internal/status ./internal/stop ./internal/db/start ./internal/db/reset ./internal/functions/serveCommit structure
feat: add apple-container runtime supportfeat: support analytics on apple-container runtime