Volume not mounted #6

Closed
opened 2025-10-18 21:57:21 +00:00 by 3wordchant · 4 comments
Owner

compose.yml has a volumes section for the app service: https://git.coopcloud.tech/coop-cloud/renovate/src/branch/main/compose.yml#L20-L21

BUT!

Docker Swarm seems to never create the volume:

$ docker volume ls | grep renovate
$

And indeed the entire-ass Mounts section is missing:

$ docker service inspect renovate_coopcloud_tech_app  | jq '.[0].Spec.TaskTemplate.Mounts'

$

🤔

`compose.yml` has a `volumes` section for the `app` service: https://git.coopcloud.tech/coop-cloud/renovate/src/branch/main/compose.yml#L20-L21 BUT! Docker Swarm seems to never create the volume: ``` $ docker volume ls | grep renovate $ ``` And indeed the entire-ass `Mounts` section is missing: ``` $ docker service inspect renovate_coopcloud_tech_app | jq '.[0].Spec.TaskTemplate.Mounts' $ ``` 🤔
Owner

Oh, good shout. Is this some weirdness because replicas: 0? I assume we need that volume for the caching worked on in #5. Maybe @cyrnel has some ideas?

Oh, good shout. Is this some weirdness because `replicas: 0`? I assume we need that volume for the caching worked on in https://git.coopcloud.tech/coop-cloud/renovate/pulls/5. Maybe @cyrnel has some ideas?
Author
Owner

Maybe it was also diskspace-related? It seems to be working now. I did add a dummy service to provision the volume (image: renovate/renovate:41, command: ["tail", "-f", "/dev/null"]) but Mounts is still defined after removing that and undeploy / redeploy.

Maybe it was also diskspace-related? It seems to be working now. I did add a dummy service to provision the volume (`image: renovate/renovate:41`, `command: ["tail", "-f", "/dev/null"]`) but `Mounts` is still defined after removing that and `undeploy` / `redeploy`.
Author
Owner

And indeed if there's no volume I think there is no caching.

And indeed if there's no volume I think there is no caching.
Owner

Sweet, that makes sense. Let's close this then 🙏

Sweet, that makes sense. Let's close this then 🙏
Sign in to join this conversation.
No description provided.