Employee noticed an oil leak on D 10T dozer and started to take down off raw coal pile to get repaired when an engine compartment fire started. EE called for help and the fire was extinguished with water and fire extinguishers. The event lasted 31 minutes and no one was injured.