feat(rvs): interner Port optional verschluesselt (RVS_HTTP_TLS)
Mit RVS_HTTP_TLS=true spricht der RVS auf RVS_HTTP_PORT HTTPS/WSS statt Klartext — damit ist auch die Strecke externer Proxy → RVS verschluesselt. Das oeffentliche Zertifikat hat der Proxy; hier reicht ein selbstsigniertes, das beim ersten Start in data/rvs-tls/ erzeugt wird (eigenes darf dort liegen). Image bekommt dafuer openssl. Nur ohne den Caddy im Stack. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -2,6 +2,9 @@ FROM node:22-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# openssl: erzeugt bei RVS_HTTP_TLS=true das interne Zertifikat
|
||||
RUN apk add --no-cache openssl
|
||||
|
||||
# Erst package.json kopieren — Docker-Cache für npm install nutzen
|
||||
COPY package.json ./
|
||||
RUN npm install --production
|
||||
|
||||
Reference in New Issue
Block a user