Sharing data volume container between services in stack

I have searched the web but havent gotten any good solution. So what is the best way of accomplishing the following:

Create a new stack that has two primary services: serviceA and serviceB. Both of those should use the same data volume container (lets call it dataContainer).

I have few solutions, but I dont like them: one solution is to use sidekicks for both services, but that means I will get duplicated data container on the host or use one primary service and evrything else as sidekicks, but serviceA and serviceB are completly different applications.

What is the best way to solve this problem?

hi oliverorav,

have you looked for the storage pool option ? like using a NFS backend with glusterfs to expose it to all the hosts ? This is quite easy to setup and will work for your need as i understand it.