Use Gitea registry image defaults

This commit is contained in:
OpenCode Test
2025-12-24 12:14:11 -08:00
parent 6ec297f6c2
commit 232b4f2488
2 changed files with 13 additions and 13 deletions

View File

@@ -42,7 +42,7 @@ spec:
# - name: global.tailscale.tailnetFQDN
# value: tailxyz.ts.net
# - name: images.web.repository
# value: registry.lan:5000/porthole-web
# value: gitea-gitea-http.taildb3494.ts.net/will/porthole-web
# - name: images.web.tag
# value: dev
destination:
@@ -92,22 +92,22 @@ This repo is a Bun monorepo, but container builds use Docker Buildx.
- `docker buildx create --name porthole --use`
- Build + push **web** (Next standalone):
- `REGISTRY=registry.lan:5000 TAG=dev`
- `docker buildx build --platform linux/amd64,linux/arm64 -f apps/web/Dockerfile -t "$REGISTRY/porthole-web:$TAG" --push .`
- `REGISTRY=gitea-gitea-http.taildb3494.ts.net TAG=dev`
- `docker buildx build --platform linux/amd64,linux/arm64 -f apps/web/Dockerfile -t "$REGISTRY/will/porthole-web:$TAG" --push .`
- Notes:
- The Dockerfile uses `bun install --frozen-lockfile` and copies all workspace `package.json` files first to keep Bun from mutating `bun.lock`.
- Runtime entrypoint comes from Next standalone output (the image runs `node app/apps/web/server.js`).
- Build + push **worker** (includes `ffmpeg` + `exiftool`):
- `REGISTRY=registry.lan:5000 TAG=dev`
- `docker buildx build --platform linux/amd64,linux/arm64 -f apps/worker/Dockerfile -t "$REGISTRY/porthole-worker:$TAG" --push .`
- `REGISTRY=gitea-gitea-http.taildb3494.ts.net TAG=dev`
- `docker buildx build --platform linux/amd64,linux/arm64 -f apps/worker/Dockerfile -t "$REGISTRY/will/porthole-worker:$TAG" --push .`
- Notes:
- The Dockerfile uses `bun install --frozen-lockfile --production` and also copies all workspace `package.json` files first for stable `workspace:*` resolution.
- Then set Helm values:
- `images.web.repository: registry.lan:5000/porthole-web`
- `images.web.repository: gitea-gitea-http.taildb3494.ts.net/will/porthole-web`
- `images.web.tag: dev`
- `images.worker.repository: registry.lan:5000/porthole-worker`
- `images.worker.repository: gitea-gitea-http.taildb3494.ts.net/will/porthole-worker`
- `images.worker.tag: dev`
### Private registry auth (optional)
@@ -181,10 +181,10 @@ secrets:
images:
web:
repository: registry.lan:5000/porthole-web
repository: gitea-gitea-http.taildb3494.ts.net/will/porthole-web
tag: dev
worker:
repository: registry.lan:5000/porthole-worker
repository: gitea-gitea-http.taildb3494.ts.net/will/porthole-worker
tag: dev
global: