Dragon fruit plants are vines, actually. Those roots it's putting out on the stem will attach to a pole or fence if you plant it near, and help it to find the support. Commercial dragon fruit plants are grown on tall, T-shape supports with a fence post in the ground, and often a square or X of 2x4's fastened to the top. They need to be in full sun to bloom and make fruit. They're not fussy about soil.
In a normal Florida summer they'll get enough water from the rain, but this year, I watered mine with the hose once a week when it didn't rain. They take in a lot of their nutrients and water though the stems, so I spray them with soluble fert when I spray my orchids.