A manifold for control of fluid and/or vapor flow between a container and a pump cartridge for a compounder system is provided. One or more manifolds may be disposed in a magazine configured to secure and align the manifolds with a plurality of ports in the cartridge. Each manifold may include a needle having forward and rear openings to a central bore. A needle housing may include a slot configured to receive a push rod for actuating the needle forward and backward. In a forward, engaged position, the openings in the needle may be disposed on opposite sides of a sealing member of the manifold to form a fluid pathway through the manifold. In a rearward, disengaged position, both the forward and rear openings in the needle may be disposed on the same side of the sealing member to prevent fluid and vapor from flowing through the manifold.