Observation balloons were filled either from compressed gas cylinders or mobile equipment. One truck or wagon contained acid that immersed iron filings to produced hydrogen. There was a gas washing truck that removed any remaining acid from the gas to prevent damage to the balloon's fabric. Portable compressors were used to fill the balloon.
You can see photos here. Computer search. "In World War I, balloons posed a deadly advantage"