We have had mice in the garden before now but they came for the bird food. These too came into the house eventually but now they have gone too.(fortunately)!
I would personaly suggest putting the compost bin at the very bottom of the garden if possible.