1.4 KiB
1.4 KiB
Subplan 07 - Packaging, Docker, And UGREEN NAS
Goal
Package the distribution platform so it can run on a UGREEN NAS through Docker.
Runtime Shape
Container:
distdserver binary- static admin UI assets
- config file support
- healthcheck
Volumes:
- database
- artifact storage
- logs
- optional TLS certs
Environment:
DIST_BASE_URLDIST_DATA_DIRDIST_DB_PATHDIST_STORAGE_DIRDIST_ADMIN_BINDDIST_PUBLIC_BINDDIST_LOG_LEVEL
Slice 1 - Local Container
Deliver:
- Dockerfile
- docker compose file
- healthcheck endpoint
- local volume layout
Acceptance:
docker compose upstartsdistd.- The admin UI loads.
- Data survives container restart.
Slice 2 - NAS Deployment
Deliver:
- UGREEN NAS deployment notes.
- Recommended volume paths.
- Reverse proxy/TLS guidance.
- Backup/restore guidance.
Acceptance:
- A user can deploy with Docker UI or compose.
- Required external ports and volumes are clear.
Slice 3 - Updates And Rollback
Deliver:
- image tag policy
- migration policy
- backup before migration
- rollback instructions
Acceptance:
- Updating the platform does not risk artifact loss without warning.
Slice 4 - Dogfood
Deliver:
- Publish the distribution platform's own release through
dist. - Document the self-hosted release flow.
Acceptance:
- The platform can distribute its own updates.