docs: add PHP deploy guide and runnable example for Datum compute#134
Open
scotwells wants to merge 1 commit into
Open
docs: add PHP deploy guide and runnable example for Datum compute#134scotwells wants to merge 1 commit into
scotwells wants to merge 1 commit into
Conversation
7b3fbf6 to
fab1589
Compare
fab1589 to
12b3fa5
Compare
12b3fa5 to
8288bdf
Compare
ecv
approved these changes
Jun 3, 2026
|
so help me god if this ends with datum running PHP apps at massive scale |
savme
approved these changes
Jun 4, 2026
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
Adds a complete, product-focused guide for deploying a PHP web service on Datum compute, taking a developer from source code to a live, reachable Instance. Alongside the prose, this PR ships a ready-to-deploy example so users can clone and run it without copying snippets by hand.
What's included
docs/guides/deploy-a-php-app.md— walks through writing the app, packaging it as a Unikraft unikernel image withkraft, publishing to the metro registry, deploying withdatumctl compute deploy, verifying the running Instance, updating, and cleaning up. Includes a troubleshooting section covering the common boot, image-pull, and scheduling failure modes.examples/hello-php/— the same files the guide describes, ready to deploy as-is:server.php— the PHP HTTP serviceDockerfile— builds the trimmed shared-library closure the unikernel needsKraftfile— Unikraft Cloud packagingworkload.yaml— the Datum compute Workload manifestREADME.md— one-line description, link back to the guide, and the key build + deploy commandsThe guide links to the example, and the example links back to the guide, so a reader can move between the explanation and the working files in either direction.
🤖 Generated with Claude Code