docs(apps): document seamless service/container runnables#21
Open
krokicki wants to merge 1 commit into
Open
Conversation
Documents the Apps-feature improvements that let container-based services run without a launcher script: - FG_SERVICE_PORT / FG_HOSTNAME env vars for service jobs, and the new service-only `auto_url` field, with a launcher-free container example. - working_dir: repo now auto-binds the cached repo clone into containers. Covers services.mdx (new "Easy Path" section), execution.mdx (env var table + bind-mount note), and manifest-reference.mdx (auto_url field). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Documents the Apps-feature improvements that make container-based services (e.g. code-server) runnable without a launcher script. These docs pair with the backend changes on the fileglancer
more-appsbranch.What's documented
FG_SERVICE_PORT/FG_HOSTNAME— env vars Fileglancer now exports for every service-type job (a free port picked on the compute node, plus the hostname).auto_url— new service-only runnable field; when set, Fileglancer writeshttp://$FG_HOSTNAME:$FG_SERVICE_PORTtoSERVICE_URL_PATHso the service needs no URL-writing code.working_dir: repoauto-bind — the cached repo clone is now bind-mounted into containers, so the documented escape hatch actually works.Files
services.mdx— new "Easy Path: Let Fileglancer Manage the Port and URL" section with a launcher-free container example and a readiness-tradeoff aside; reframes the manual URL-writing section as the advanced path.execution.mdx— adds the new env vars to the "Variables Set by Fileglancer" table and notes the repo bind.manifest-reference.mdx— adds theauto_urlfield row.Context
These edits were originally made in the
apps-updatesworking tree but never committed, so they were left out whenapps-updatesmerged (PR #20). This branch is based on the currentmainand carries them forward.🤖 Generated with Claude Code