Heat the olive oil and fry the shallots in it. Add the sugar and stir-fry until it caramelizes. Pour red wine, fruit vinegar and port wine over the shallots. Add salt, bay leaves and chili peppers and simmer for about 10 minutes. The shallots must not be too soft!
Then fill into clean twist-off glasses - this amount is enough for 2 glasses of 0.5 l each. Close tightly and turn upside down for approx. 1 hour.
The shallots should steep for about 2 weeks before they are eaten.