I recently bought a 3 horse slant load trailer and the seals on the doors and windows uses a seal like what you are describing its called TrimLock. It's designed to not use glue the trim mounts to the doors of the horse trailer like on boats but this has a thin metal strip inside it to hold it in place without glue. Take a look at
Trim Lock. You can order it to fit the thickness of the compartment doors. Glue would be easier and a lot cheaper but this stuff holds in place very tight without glue.