Fix relay storage permissions
This commit is contained in:
parent
1225103dc9
commit
e1e8ff89cd
@ -196,6 +196,7 @@
|
|||||||
- Extended WebSocket serialization coverage to preserve the sender timestamp used for offline message delivery.
|
- Extended WebSocket serialization coverage to preserve the sender timestamp used for offline message delivery.
|
||||||
- The relay now defaults to the production Traefik certificate resolver (`myresolver`) and allows a host-specific override through `TRAEFIK_CERT_RESOLVER`.
|
- The relay now defaults to the production Traefik certificate resolver (`myresolver`) and allows a host-specific override through `TRAEFIK_CERT_RESOLVER`.
|
||||||
- Corrected the production hostname to `fchaty.diyaa.de` in the relay route and macOS application HTTP and WebSocket clients.
|
- Corrected the production hostname to `fchaty.diyaa.de` in the relay route and macOS application HTTP and WebSocket clients.
|
||||||
|
- `relay-server/Dockerfile` initializes all persistent-data paths as the unprivileged `node` user, preventing pairing, queue, and upload write failures on newly created volumes.
|
||||||
|
|
||||||
## Bug Fixes — Post-Review ✅
|
## Bug Fixes — Post-Review ✅
|
||||||
|
|
||||||
|
|||||||
@ -10,7 +10,8 @@ COPY --from=deps /app/node_modules ./node_modules
|
|||||||
COPY src/ ./src/
|
COPY src/ ./src/
|
||||||
COPY package.json ./
|
COPY package.json ./
|
||||||
|
|
||||||
RUN mkdir -p /data/files
|
RUN mkdir -p /data/files /data/queue /data/pairing \
|
||||||
|
&& chown -R node:node /data
|
||||||
|
|
||||||
USER node
|
USER node
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user