In this paper,we focus on the immiscible compressible two-phase flow described by the coupled compressible Navier-Stokes system and the modified Allen-Cahn equations.The generalized Navier boundary condition and the relaxation boundary condition are established in order to solve the problem of moving contact lines on the solid boundary by using the principle of minimum energy dissipation.The existence and uniqueness for local strong solution in three dimensional bounded domain for this type of boundary value problem is obtained by the elementary energy method and the maximum principle.