chiller cleaning question

hello! i have an aquarium chiller for my axies tank and i was wondering how to clean it, as the tubing and the insides are getting gunky. is it safe to run vinegar through it in a 5gal bucket or is there aquarium cleaner i should get, or anything else i should do? thanks!