Can't use volumes with Docker Swarm

Hello guys!

I’ve deployed a Shiny App with the Docker Swarm backend, but I can’t seem to get the containers created by Shiny Proxy to access the already created docker volumes, could only make it work using bind mounts.

I tried specifying in the .yml of the deployment stack all the volumes and the specification of “external: true”, also referencing them in the application.yml but still when I startup the service and try to login it gives an error inside the container saying that the volume does not exist.

Any help regarding this would be greayly appreciated!

Thank you very much!