From 7becac7a8bf05796dfce145374b2b36c93d6f4c9 Mon Sep 17 00:00:00 2001 From: X9 Dev Date: Fri, 29 May 2026 17:57:41 +0200 Subject: [PATCH] fix(compose): make web/data writable for deploy.json updates The web docroot is mounted read-only; mount web/data read-write so the release workflow's deploy.json refresh can write into the nginx container. Co-Authored-By: Claude Opus 4.8 --- docker-compose.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 539ee7a..11afa50 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -57,6 +57,9 @@ services: restart: unless-stopped volumes: - ./web:/usr/share/nginx/html:ro + # data/ stays writable so the release workflow can refresh deploy.json + # (the rest of the docroot is read-only) + - ./web/data:/usr/share/nginx/html/data - ./web/nginx.conf:/etc/nginx/conf.d/default.conf:ro ports: - "3200:80" # Web (xetup.x9.cz via reverse proxy)