Javis Deploy
Routine deploy skill for the Javis viewer frontend.
Default Target
- Canonical host:
sw-portal.atlascopco.group - Server:
atlasAdmin@10.182.252.32
Workflow
When triggered, this skill should:
- Build only the
javis-viewerDocker image fromsrc/javis-viewer/. - Upload only the viewer image tarball to
/data/javis/on the remote server. - Reload only the remote
javis-viewercontainer withdocker-compose up -d javis-viewer. - Verify the deployed app responds on the canonical host.
Deployment Rules
- Treat
sw-portal.atlascopco.groupas the canonical Jarvis host. - Do not upload
.env, nginx config, or DB images during routine viewer deploys. - Do not recreate
javis-dbunless the user explicitly asked for a DB deploy. - Do not let
sw-portalorjarvishosts redirect toeobby default. - Keep token handoff support optional: if
?token=and?refresh=are present, session bootstrap can run, but normal direct access must still work.
Nginx / Proxy Notes
- Jarvis host routing is aligned with
../edwards/engineering.management/nginx_remote_proxy.conf. - If canonical host or proxy behavior must change, update the engineering.management nginx config there instead of overwriting Javis-specific nginx files from this repo.
Bundled Resources
scripts/deploy_viewer.sh: safe routine deploy script for viewer-only deploys
Usage
/javis-deploy
/javis-deploy deploy
/javis-deploy verify