I had the same issue. I built a degassing tube that is about 7 feet tall that sits in a 50 gallon drum that I drilled a hole in to fit the 4” pvc into. I have everything wired to automatically shut off when my 50 gallon drum is full of RO DI water.
How it works-
As the RODI water goes down in the 50 gallon drum the paddle float switch drops this opens the feed water solonoid to the ro, turns on the air pump and a small circulation pump.
The raw water first goes through a carbon filter, then to the ro membrane and is sent into the top of the 7’ riser pipe that is capped on the bottom.
There is an air stone at the bottom of this 4” pvc tube that is hooked to the air pump. When the water level gets about 5 feet up the pvc pipe it drains into a 4x2 wye fitting with a small pump hooked below it. ( Because the water no longer is pressurized when it comes out). I use the pump to push the water through the DI resin cartridges and a silica buster cartridge. After it leaves the silica cartridge it gravity drains into the drum around the sealed pvc pipe and as it fills, it brings the paddle float switch up and shuts off the water, air pump and circulation pump.
A little history-
My DI resin was only lasting about a month or so before I did this. Now it’s been about 9 months between resin changes.
I also did anion, cation and mixed bed in separate 10” cartridges to see which resin I was exhausting prematurely.
Then doubled up on that resin and took out the mixed bed and installed a silica buster In its place.
*My water also goes through a softener before the RO.
I can take some photos if anyone is interested in seeing it or has any questions feel free to ask. i spent a lot of time designing, tinkering and dialing this in over a year ago and it works pretty dang good.