Using D'Alemberts principle, you need to know a number of desired variables. I would use the "Electric Motor Sizing Design Formulas and Calculator" to determine the torque needed to open and close your door.[/FONT]
Then decide the electric motor you want to use and then determine the reduced/multiplier gear box (if required).
https://www.engineersedge.com/gears/torque_in_gear_drives_formulas_15662.htm