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
Unfortunately score-compose doesn't setup these volumes for you because score cannot predict what kind of volume is needed or how to provision it (which driver, or options).
Instead it relies on you setting up a separate compose.yaml file with the volume:
volumes:
tmp-data:
And then including that when you run compose up: docker compose -f compose.yaml -f score.compose.yaml up.
We are looking into how we can support this better in the future and how we can pre-provision resources during the compose generation step.
Describe the bug
I defined a simple volume and generated
compose.yaml
.But
compose.yaml
does not contain volumes.score.yaml
generate compose.yaml
compose.yaml
Expected behavior
Desktop (please complete the following information):
Additional context
I'm a newbie to Score, so my thinking may be wrong.
The text was updated successfully, but these errors were encountered: