diff options
| author | Paul Buetow <paul@buetow.org> | 2026-01-31 17:35:22 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-01-31 17:35:22 +0200 |
| commit | cbdb12f7d57588bacf18a52f2bd2307fc1d54979 (patch) | |
| tree | afcd86980fcffbe610b2437d8e579118aeba30c6 /f3s | |
| parent | b3b781a8b5f75a83183108ac9fa98c71b12bb714 (diff) | |
Fix minvid.f3s.buetow.org TLS certificate generation and routing
- acme.sh: Change grep from exact match to prefix match for f3s hosts
Server blocks for f3s hosts use -port80/-port8080 suffixes
- relayd: Add explicit routing for f3s hosts (except registry/jellyfin)
minvid and other f3s hosts now route to <f3s> backend table
Amp-Thread-ID: https://ampcode.com/threads/T-019c14ac-164f-776f-8648-471d4ac4ce5a
Co-authored-by: Amp <amp@ampcode.com>
Diffstat (limited to 'f3s')
| -rw-r--r-- | f3s/minvid/docker-image/Dockerfile | 6 | ||||
| -rw-r--r-- | f3s/minvid/helm-chart/templates/deployment.yaml | 4 |
2 files changed, 6 insertions, 4 deletions
diff --git a/f3s/minvid/docker-image/Dockerfile b/f3s/minvid/docker-image/Dockerfile index 2967aaa..f453435 100644 --- a/f3s/minvid/docker-image/Dockerfile +++ b/f3s/minvid/docker-image/Dockerfile @@ -7,7 +7,7 @@ WORKDIR /build/MinVid RUN npm install && npm run build # Build API -FROM mcr.microsoft.com/dotnet/sdk:8.0-alpine AS api-builder +FROM mcr.microsoft.com/dotnet/sdk:9.0-alpine AS api-builder WORKDIR /build RUN apk add --no-cache git RUN git clone https://github.com/Ludvigaman/MinVid.git . @@ -15,7 +15,7 @@ WORKDIR /build/MinVid-API RUN dotnet publish -c Release -o /app/publish # Final image -FROM mcr.microsoft.com/dotnet/aspnet:8.0-alpine +FROM mcr.microsoft.com/dotnet/aspnet:9.0-alpine ENV PUID=1000 ENV PGID=1000 @@ -32,6 +32,8 @@ COPY --from=frontend-builder /build/MinVid/dist ./wwwroot EXPOSE 80 +ENV ASPNETCORE_URLS=http://+:80 + COPY entrypoint.sh /entrypoint.sh RUN chmod +x /entrypoint.sh diff --git a/f3s/minvid/helm-chart/templates/deployment.yaml b/f3s/minvid/helm-chart/templates/deployment.yaml index fdc6fe3..6d04977 100644 --- a/f3s/minvid/helm-chart/templates/deployment.yaml +++ b/f3s/minvid/helm-chart/templates/deployment.yaml @@ -15,7 +15,7 @@ spec: spec: containers: - name: minvid - image: r0.lan.buetow.org:30001/minvid:latest + image: registry.lan.buetow.org:30001/minvid:latest imagePullPolicy: Always ports: - containerPort: 80 @@ -39,6 +39,6 @@ spec: - name: web port: 80 protocol: TCP - targetPort: 8000 + targetPort: 80 selector: app: minvid |
