The movie is the two seasons of the series combined with added footage to make the story more cohesive.
This exists in the same shared multiverse as The Flash (1990), Arrow, Constantine, The Flash (2014), Supergirl, DC's Legends of Tomorrow, Freedom Fighters: The Ray.