doc: Add some documentation about startup environment variables
(cherry picked from commit 7b4a47719b7b90efbd2b804fdd5325a7831dab38)