Skip to content

fix(dev): add Docker volume path mapping to testing-host for database deployments - #9534

Merged
andrasbacsai merged 1 commit into
coollabsio:nextfrom
cyface:fix/dev-compose-volume-path
Apr 14, 2026
Merged

andrasbacsai merged 1 commit into
coollabsio:nextfrom
cyface:fix/dev-compose-volume-path

Conversation

@cyface

@cyface cyface commented Apr 13, 2026

Copy link
Copy Markdown
Contributor

Changes

The testing-host container in docker-compose.dev.yml mounts dev_coolify_data at /data/coolify, but when Coolify generates Docker Compose configs for standalone database deployments (PostgreSQL, MongoDB, etc.), it creates bind mounts referencing the internal Docker volume path (/var/lib/docker/volumes/coolify_dev_coolify_data/_data). Since that path doesn't exist in the testing-host container, database deployments fail with "bind source path does not exist."

This adds a second volume mount mapping dev_coolify_data to the Docker volume path so both paths resolve correctly in the dev environment.

Issues

Category

  • Bug fix
  • Improvement
  • New feature
  • Adding new one click service
  • Fixing or updating existing one click service

AI Assistance

  • AI was NOT used to create this PR
  • AI was used (please describe below)

If AI was used:

  • Tools used: Claude Code (Claude Opus)
  • How extensively: Pair-programmed the fix, issue creation, and PR preparation

Testing

  1. spin up to start dev environment
  2. Create a standalone PostgreSQL database in Coolify
  3. Start the database — previously failed with bind source path error, now deploys successfully
  4. Verified the volume mount makes dev_coolify_data accessible at both /data/coolify and /var/lib/docker/volumes/coolify_dev_coolify_data/_data inside the testing-host container

Contributor Agreement

Important

  • I have read and understood the contributor guidelines. If I have failed to follow any guideline, I understand that this PR may be closed without review.
  • I have searched existing issues and pull requests (including closed ones) to ensure this isn't a duplicate.
  • I have tested all the changes thoroughly with a local development instance of Coolify and I am confident that they will work as expected when a maintainer tests them.

… deployments

Database deployments generate bind mounts referencing the internal Docker
volume path (/var/lib/docker/volumes/coolify_dev_coolify_data/_data) which
doesn't exist in the testing-host container. This adds the missing volume
mount so both /data/coolify and the Docker volume path resolve correctly.

Fixes coollabsio#9533

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@andrasbacsai

Copy link
Copy Markdown
Member

Thank you for the PR! 💜

@andrasbacsai
andrasbacsai merged commit 91d5f46 into coollabsio:next Apr 14, 2026
2 checks passed
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators May 15, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants