Ok this is my suggestion. Create text file called e.g. filter.txt
with following content:
+ /gluetun-config/**
+ /mealie_mealie-data/**
+ /photoprism-data/**
+ /shared-media/**
- *
These are filtering rules including specified dirs and excluding everything else
then to sync from local to the cloud (I assume that it is what you want) you run:
rclone sync /var/lib/docker/volumes/ server:ServerName --filter-from /path/to/filter.txt --delete-excluded
--delete-excluded
flag will delete everything from remote what is not included. E.g. when one day you decide to remove gluetun-config
from your filter file then it will be removed from the cloud too.
Always test before with -vv --dry-run
Google is your friend:) you will find plenty of explanations and examples