Point dta_webapp webroot at realpath.app paths (closes #12) #13

Merged
westfarn merged 2 commits from issue-12-dta-webapp-realpath-webroot into master 2026-08-06 08:46:33 -07:00
Owner

Summary

  • Change dta_webapp webroot_pattern from /var/www/{env}.app.ditchtheagent/html/var/www/{env}.realpath.app/html
  • Update IMPLEMENTATION.md references to match
  • web-static: before compose up, docker rm -f any container publishing the static host ports (docker ps --filter publish=<port>), then force-recreate when cleanup ran — clears orphan/legacy binders while keeping the same ports

Closes #12

Coordinates with dta_webapp#48 / PR #49 (build:beta/build:prod write to the same dirs; prod uses prod.realpath.app).

Test plan

  • Confirm app_catalog.dta_webapp.webroot_pattern expands to beta/prod realpath paths
  • On a host with a leftover container on 8080/8081, run deploy and confirm it is removed and web-static rebinds
  • After merge, redeploy dta_webapp beta (and prod when ready) and verify files under /var/www/{env}.realpath.app/html
  • Hit web-static ports and confirm new build content served
## Summary - Change `dta_webapp` `webroot_pattern` from `/var/www/{env}.app.ditchtheagent/html` → `/var/www/{env}.realpath.app/html` - Update `IMPLEMENTATION.md` references to match - **web-static:** before `compose up`, `docker rm -f` any container publishing the static host ports (`docker ps --filter publish=<port>`), then force-recreate when cleanup ran — clears orphan/legacy binders while keeping the same ports Closes #12 Coordinates with [dta_webapp#48](https://git.aimloperations.com/Ditch_The_Agent/dta_webapp/issues/48) / [PR #49](https://git.aimloperations.com/Ditch_The_Agent/dta_webapp/pulls/49) (`build:beta`/`build:prod` write to the same dirs; prod uses `prod.realpath.app`). ## Test plan - [ ] Confirm `app_catalog.dta_webapp.webroot_pattern` expands to beta/prod realpath paths - [ ] On a host with a leftover container on 8080/8081, run deploy and confirm it is removed and web-static rebinds - [ ] After merge, redeploy `dta_webapp` beta (and prod when ready) and verify files under `/var/www/{env}.realpath.app/html` - [ ] Hit web-static ports and confirm new build content served
westfarn added 1 commit 2026-08-06 08:42:44 -07:00
Align webroot_pattern and docs with dta_webapp builds under /var/www/{env}.realpath.app/html so deploy and web-static nginx serve the same dirs.
westfarn added 1 commit 2026-08-06 08:45:57 -07:00
Free web-static ports by removing containers that publish them
Sync runner checkout / sync (pull_request) Successful in 7s
10ef7fb68c
Before compose up, docker rm -f any container bound to the host ports from host_apps so orphan/legacy publishers cannot block the nginx bind; force-recreate when cleanup ran.
westfarn merged commit 829a63cbf2 into master 2026-08-06 08:46:33 -07:00
westfarn deleted branch issue-12-dta-webapp-realpath-webroot 2026-08-06 08:46:34 -07:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ai_ml_operations/server-infra#13