feat: add example datasets and workflows to Docker Compose#4247
Open
bobbai00 wants to merge 3 commits intoapache:mainfrom
Open
feat: add example datasets and workflows to Docker Compose#4247bobbai00 wants to merge 3 commits intoapache:mainfrom
bobbai00 wants to merge 3 commits intoapache:mainfrom
Conversation
Contributor
|
@kunwp1 Can you review it? |
ae4a92a to
afcadca
Compare
afcadca to
47e2b5d
Compare
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.
What changes were proposed in this PR?
This PR adds example datasets and workflows that are automatically loaded into Texera when using Docker Compose, so new users have sample data to explore immediately after startup.
What gets loaded:
Key design choices:
profiles— the loader only runs when explicitly opted in viadocker compose --profile examples up, not on every restartalpine:latestimage with runtimeapk add— no custom image build requiredUSER_SYS_ADMIN_USERNAME/USER_SYS_ADMIN_PASSWORD) are defined in.envand shared between the Texera backend and the example loaderFiles added:
bin/single-node/examples/— datasets (CSV + descriptions), workflow JSONs, andload-examples.shloader scriptbin/single-node/docker-compose.yml— addedexample-data-loaderservice (Part 4)bin/single-node/.env— addedUSER_SYS_ADMIN_USERNAME/USER_SYS_ADMIN_PASSWORDenv varsAny related issues, documentation, discussions?
No
How was this PR tested?
docker compose --profile examples upand verified:docker compose up(without--profile examples) and verified the loader does NOT startWas this PR authored or co-authored using generative AI tooling?
Generated-by: Claude Code (Claude Opus 4.6)