Stuck with this problem. Can docker-compose filter dirs during mount?
For example, I have dir example.
example
├── cfg-project-1
├── cfg-project-2
├── cfg-project-3
├── project-1
├── project-2
└── project-3
volumes:
- ./example:/tmp/s3-buckets
I do not know the exact number of subdirectories and their names, but I know the pattern. All configs repos have the cfg-
prefix.
So, I need to mount all content of example
dir, which has this prefix cfg-
Maybe you have some ideas? Thanks a lot!