Uh oh!
There was an error while loading. Please reload this page.
feature/enhanced deploy - #52
Open
vinulw wants to merge 19 commits into
Open
Conversation
vinulw
marked this pull request as ready for review
September 1, 2026 14:43
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 freeto 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.
Enhanced deployment: selectable model sets and deployment-time overrides
Reworks
install.shand the compose layout so a deployment chooses its model set and overrides paths, images and published ports without editing tracked files.Model sets
install.sh -m/--model-set <name>(defaultpiwind, falling back toMODEL_SETin.env) resolves todocker-compose.models.<name>.ymland errors clearly if that file doesn't exist.model-registrationandpiwind-workermove out ofdocker-compose.ymlinto the per-model-set files, so the base stack no longer carries model-specific services. Addsdocker-compose.models.piwind.ymlanddocker-compose.models.scenarios.yml.get-piwind.sh/get-scenarios.sh, run automatically when present.get-scenarios.shclones the Scenarios repo and pulls model files from S3 intoSCENARIOS_PATH; both are idempotent.Deployment overrides
UI_DEFAULTS,UI_CONFIG,UI_STREAMLIT, and a newUI_ASSETS(ui_assets/, with a README describing the contract).OASIS_HTTP_PORT/OASIS_HTTPS_PORT/TRAEFIK_DASHBOARD_PORT, defaulting to 80 / 443 / 8090.coreoasis/oasispythonui_app:latest, so.envno longer has to define it.install.sh --build-uirebuilds the UI image instead of pulling, and pull failures are suppressed rather than fatal. NewMakefiletargets:build,push,build_and_push, and the scenarios data-seeding targets.install.shalso gains-u/--uninstall(stack down + volumes) and-h/--help, and rejects unknown options.Also
scenarios/tree; the 13 analysis-settings files move fromdefaults/and are trimmed to the fields the templates use.use_container_width=True→width='stretch'.TODO
README.mdis untouched and still describes the previous single-model, fixed-port install. Needs the newinstall.shflags, the model-set compose +get-*.shconvention for adding a set, theUI_*overrides andui_assets/, the Traefik port variables, the Makefile targets, andSCENARIOS_PATH.