That said if you do want a slightly more "official" answer, teleportation circles have comparable "cast in same location for a year" language, and Jeremy Crawford did tweet (back when his tweets were considered official rules interpretations) to the effect that as long as it is cast on the same surface it does not matter whether that surface moves. A good discussion of his interpretations can be found at: Can a permanent Teleportation Circle be made on a moving vehicle?.