[en] The necessary conditions for the existence of stationary solutions with finite energy to the Yang-Mills equations with external sources are obtained. For a special form of the external source the nonlinear two-centre problem is formulated. Using continuous analog of Newton method and the method of finite element for discretization the solutions with finite energy and zero total colour charge are obtained