- Shell 54.2%
- Dockerfile 45.8%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .forgejo/workflows | ||
| scripts | ||
| .dockerignore | ||
| .paseo-ref | ||
| Dockerfile | ||
| nginx.conf | ||
| README.md | ||
paseo-webui
Builds a container image of the Paseo web
UI (the app.paseo.sh client) so the whole Paseo stack can be self-hosted.
The image clones upstream getpaseo/paseo at the stable release recorded in
.paseo-ref, runs the Expo web export
(npm run build:web --workspace=@getpaseo/app), and serves the static dist/
with nginx (with SPA fallback for Expo Router deep links). The relay / daemon
endpoint is entered at runtime in the UI, so the image behaves identically to
app.paseo.sh.
Build
Forgejo Actions builds and pushes both latest and a release-specific tag such
as paseo-v0.1.110 on:
- push to
maintouchingDockerfile,nginx.conf,.paseo-ref, or a workflow - manual dispatch (optionally pinning a different upstream ref via
paseo_ref)
The separate update-release.yml workflow runs nightly, finds the newest
stable upstream release tag, and commits an updated .paseo-ref when needed.
That commit triggers the image build. The update helper refuses to move the
tracked release backwards.
Local build:
docker build --build-arg PASEO_REF="$(cat .paseo-ref)" -t paseo-webui:local .
docker run --rm -p 8080:80 paseo-webui:local # http://localhost:8080
Rollback
Use an immutable release tag when a rollback is needed, for example:
docker pull git.nimmog.uk/nimmo/paseo-webui:paseo-v0.1.100
Vega normally follows latest; the NixOS container is configured to pull that
tag when activated. To keep Vega on an older release, temporarily change its
image to the desired paseo-vX.Y.Z tag and deploy that NixOS revision. The
nightly updater will continue tracking the newest release in .paseo-ref.
Deploy
Consumed by the paseo-webui oci-container on vega in the nixos-config repo,
on the newt_default network and reached through Pangolin.