forked from sneak/upaas
[IMPLEMENT] Deploy upaas to mission.solio.tech in separate Docker container #1
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Deploy the upaas µPaaS application to
mission.solio.techrunning in its own dedicated Docker container.Specification
Container Setup
127.0.0.1:3457only — not public)sol/upaasrepo (Dockerfile exists at repo root)/root/upaas-dataon host →/var/lib/upaasin container/var/run/docker.sockso upaas can build/deploy containersunless-stoppedUPAAS_HOST_DATA_DIR=/root/upaas-data(required — tells upaas where host data lives)UPAAS_LISTEN_ADDR=0.0.0.0:8080(internal listen, mapped to 3457)/root/upaas/docker-compose.ymlNginx Config
mission.solio.techhttp://127.0.0.1:3457/etc/nginx/sites-available/mission.solio.tech+ symlink to sites-enabled/etc/nginx/sites-available/mattermost-slack.solio.tech(simple proxy, no hooks section)Build Strategy
Since there's no
dockerCLI in the sandbox, use Docker socket HTTP API to:sol/upaasrepo to/root/upaas/on host (via privileged alpine container)POST /buildwith tar context)DNS
mission.solio.techmust resolve to this server's IP before certbot runsdig mission.solio.techVerification
curl -sf --unix-socket /var/run/docker.sock 'http://localhost/containers/upaas/json'curl -sf http://127.0.0.1:3457/→ returns 200 or redirect to logincurl -sf https://mission.solio.tech/→ returns 200Implementation Phases
Phase 1: Repo clone + Docker image build
sol/upaasto host at/root/upaas/upaas:localPhase 2: Container setup
/root/upaas/docker-compose.yml/root/upaas-data/directoryPhase 3: Nginx + SSL
/etc/nginx/sites-available/mission.solio.techPhase 4: Smoke test + report
https://mission.solio.tech/loadsNotes
UPAAS_HOST_DATA_DIRmust match the HOST path of the data volume (not container path)[DECOMPOSE -> PENDING_APPROVAL] Implementation plan ready for review.
Discovery Summary
Plan Overview (4 phases, ~70min total)
Phase 1: Repo clone + Docker image build [30min]
Phase 2: Container setup [15min]
Phase 3: Nginx + SSL [15min]
Phase 4: Smoke test + report [10min]
Production Review: 4/4 PASS
Audit: 7/7 PASS
Simulation Verdict: READY (no blockers)
Role Assignments
All phases: engineering/devops-automator (exact match)
Open Questions
None -- all requirements explicit in the issue specification.
Awaiting approval to proceed with execution.