After wrestling with the provided Dockerfile and docker-compose from PayloadCMS, i ended up using https://github.com/leerob/next-self-host for a nextjs and postgres setup with docker on a VPS. i then retroactively added payloadCMS after