If you use a bind-mount to the pmm-server container, like I demonstrated above, then pmm-data is irrelevant as you won’t use it at all. Thus, no duplication of data anywhere.
There are 2 exclusive choices:
- use pmm-data container, which writes its data to your docker volumes path
- no pmm-data container and bind-mount path to pmm-server to pick whereever you want the data written