Hey @duttchasel, welcome to the community!
I am not entirely sure how PM2 manages environment variables, but based on other conversations around this process manager (like this one), setting up an ecosystem file seems to work reliably.
Could you give that a go?