First cook the rice in lightly salted water according to the instructions.
Meanwhile, dice the onions and fry them with oil in a pan over medium heat.
Cut the vegetables (zucchini, carrots, tomatoes) into small pieces, add to the onions and fry briefly. Then add the coconut milk, the pineapple pieces, the Thai curry and the vegetable stock to the pan and simmer for about 10 minutes. Season with salt and pepper and serve with the rice.