---
estimated_steps: 11
estimated_files: 3
skills_used: []
---

# T01: Clone, build, deploy, and verify full stack on ub01

1. Git clone xpltdco/chrysopedia to /vmPool/r/repos/xpltdco/chrysopedia on ub01
2. Create /vmPool/r/compose/xpltd_chrysopedia/ and symlink docker-compose.yml
3. Create service directories for bind mounts
4. Create .env with production secrets (LLM key, DB password, etc.)
5. Build docker images
6. Start the stack with docker compose up -d
7. Pull nomic-embed-text model into Ollama container
8. Run Alembic migration against the production database
9. Verify all containers healthy
10. Verify GET /health returns 200
11. Verify web UI loads on port 8096

## Inputs

- `docker-compose.yml`
- `.env.example`
- `alembic/`

## Expected Output

- `All containers running on ub01`
- `Alembic migration applied`
- `Health endpoint returns 200`

## Verification

ssh ub01 'docker ps --filter name=chrysopedia --format "{{.Names}} {{.Status}}"' && ssh ub01 'curl -s http://localhost:8096/health'
