You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Same root-cause class as #211 (which was just fixed for networks): the server-side compose renderer emits a volumes: mapping under a service (e.g. postgres_data:/var/lib/postgresql/data) but never emits the corresponding top-level volumes: declaration block, making the generated compose invalid.
Steps to reproduce
Deploy a project with a service that declares a named volume, e.g. miniflux's stacker.yml:
Note networks: top-level block is present and correct (the #211 fix working as intended) — but there is no top-level volumes: block at all, even though postgres_data is referenced by the service.
Expected
Same fix pattern as #211: the top-level volumes: block should be derived from the named volumes actually referenced by services, so it never diverges from what's referenced.
Found immediately after re-verifying Remote compose references undefined network default_network #211 was fixed — the network fix uncovered this sibling bug in the same render path (ConfigRenderer::render_compose), which previously errored out on the network mismatch before ever reaching the volumes-rendering step.
Reproduced via stacker-projects/miniflux in trydirect/stacker-project-examples
Summary
Same root-cause class as #211 (which was just fixed for networks): the server-side compose renderer emits a
volumes:mapping under a service (e.g.postgres_data:/var/lib/postgresql/data) but never emits the corresponding top-levelvolumes:declaration block, making the generated compose invalid.Steps to reproduce
miniflux'sstacker.yml:stacker deploy --target cloud --key <key> --force-new --watch(completes fine — this uses the CLI-generated compose, not the server-rendered one)stacker agent deploy-app miniflux --image miniflux/miniflux:latest --forceConfirmed via remote compose file
/home/trydirect/project/docker-compose.ymlon the target server, freshly rendered at the time of the failing command:Note
networks:top-level block is present and correct (the #211 fix working as intended) — but there is no top-levelvolumes:block at all, even thoughpostgres_datais referenced by the service.Expected
Same fix pattern as #211: the top-level
volumes:block should be derived from the named volumes actually referenced by services, so it never diverges from what's referenced.Environment
default_network#211 was fixed — the network fix uncovered this sibling bug in the same render path (ConfigRenderer::render_compose), which previously errored out on the network mismatch before ever reaching the volumes-rendering step.stacker-projects/minifluxin trydirect/stacker-project-examples