A potentially deadly disease is infecting vulnerable residents amid the flood clean-up, health authorities in the north-Queensland city are warning.

Townsville public health unit acting director Dr Julie Mudd said eight people had so far been diagnosed with melioidosis, an environmental bacteria picked up from the soil.

People cleaning up after the floods are advised to wear protective equipment, cover any wounds and protect their airways if working around mud.