Keep the cooled fruit compote in a resealable container or jar. It will keep in the refrigerator for up to 2 weeks. You can also freeze compote for 3-6 months.