Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on lemmy.world
portainer·Portainer, Simplicity without Compromize...byOverride4414

Best (correct) way to use local mapped volumes with Portainer Stacks

Hi all, In my current setup, I run many different containers each with its own compose folder. My main use case is mapping data volumes to a subfolder of where the compose file is located (as in './mydata:/root/app/data') instead of using the default docker volume folder.

What's the correct way of doing this in a portainer stack? I'd like to avoid using an absolute path (either direct or in a variable) for each container if possible...

TIA

View original on lemmy.world
6

No replies yet

No comments on the original post yet.