Gilley is a commune in the Doubs department in the region of Bourgogne-Franche-Comté in eastern France.