Compare commits

..

2 Commits

Author SHA1 Message Date
alex 4ac3d593aa Merge branch 'dev' of ssh://git.commumedia.org:2222/alex/headquarter into dev 2026-05-24 10:32:58 +00:00
alex 1a3860a4d8 fix: mount /data/instances as host bind mount for API
When API runs in Docker with named volume instance_data:/data/instances,
generated docker-compose.yml files use bind mounts like
/data/instances/.../repo-clone:/workspace. Docker resolves bind mounts
on the host filesystem, not in named volumes, so containers see empty
 directories.

By mounting /data/instances as a host bind mount, both the API and
generated tool containers access the same host path.
2026-05-24 10:32:43 +00:00
3 changed files with 16 additions and 4 deletions
+2 -2
View File
@@ -1,2 +1,2 @@
84102 130078
1779616938758 1779618546909
File diff suppressed because one or more lines are too long
+1 -2
View File
@@ -58,7 +58,7 @@ services:
INSTANCE_BASE_PATH: /data/instances INSTANCE_BASE_PATH: /data/instances
volumes: volumes:
- repo_data:/data/repos - repo_data:/data/repos
- instance_data:/data/instances - /data/instances:/data/instances
ports: ports:
- "8000:8000" - "8000:8000"
depends_on: depends_on:
@@ -92,7 +92,6 @@ volumes:
postgres_data: postgres_data:
redis_data: redis_data:
repo_data: repo_data:
instance_data:
networks: networks:
backend: backend: