From 6170306d9e3f2cbe067b5870b6a899e38c100c26 Mon Sep 17 00:00:00 2001 From: Alex Blank Date: Tue, 2 Jun 2026 12:59:40 +0200 Subject: [PATCH] fix: add working-copies bind mount and replace repo_data volume The workspace mount was failing because /data/working-copies/ was not bind-mounted into the API container. The workspace management code writes to /data/working-copies/ inside the API container, but tool instances mount from the host filesystem. Without a shared bind mount, the host saw an empty directory. - docker-compose.yml: add /data/working-copies bind mount, replace repo_data - docker-compose.traefik.yml: same changes - Remove repo_data named volume declaration from both files --- docker-compose.traefik.yml | 4 ++-- docker-compose.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docker-compose.traefik.yml b/docker-compose.traefik.yml index 67e446c..c4d5f10 100644 --- a/docker-compose.traefik.yml +++ b/docker-compose.traefik.yml @@ -92,7 +92,8 @@ services: AUTHENTIK_AUTHORIZE_URL: ${AUTHENTIK_AUTHORIZE_URL:-} AUTHENTIK_TOKEN_URL: ${AUTHENTIK_TOKEN_URL:-} volumes: - - repo_data:/data/repos + - /data/repos:/data/repos + - /data/working-copies:/data/working-copies - /data/instances:/data/instances - avatar_uploads:/app/uploads - /var/run/docker.sock:/var/run/docker.sock @@ -116,7 +117,6 @@ services: volumes: postgres_data: redis_data: - repo_data: avatar_uploads: networks: diff --git a/docker-compose.yml b/docker-compose.yml index 1fe29ae..46a7f61 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -57,7 +57,8 @@ services: REPO_BASE_PATH: /data/repos INSTANCE_BASE_PATH: /data/instances volumes: - - repo_data:/data/repos + - /data/repos:/data/repos + - /data/working-copies:/data/working-copies - /data/instances:/data/instances ports: - "8000:8000" @@ -91,7 +92,6 @@ services: volumes: postgres_data: redis_data: - repo_data: networks: backend: