Any rotten vegetable or fruit, egg peels, dried leaves, used tea and coffee filters, etc. can be used to make compost. Making compost is a step-by-step procedure. First, you should pile up the organic material in a bare space or keep it in the compost bins and then cover it with soil. Add material in layers and cover it with soil. Water it occasionally. Mixing and turning the compost once a week is also required.
Banana peel is a good fertilizer for plants. It adds several kinds of essential macronutrients to the plants as it is rich in calcium, potassium, magnesium, and phosphorus, which make the plants' stems and roots stronger. It also improves photosynthetic activity and nutrient distribution in plants. Banana peels can be used in the form of banana peel slurry that can be sprayed on the plants, or you can use banana peels as such by sowing them in the soil directly, but a little bit away from the plant's roots. If you are concerned about fruit flies (which is quite obvious), then you need not worry because you have planted only an ornamental plant. Fruit flies are pests that can cause damage to soft and ripe fruits and vegetables. They lay their eggs on the soft skin of ripe fruits and vegetables as well. To avoid this condition, you can spray some fine soil on the plant's leaves. Or spray lavender oil on the plant leaves (or you can place cotton balls dipped in lavender oil).