I'm not 100% sure but it looks like the current supported install method is via Docker. I did find these environment variable that you'll want to crank up to 512MB.
CP_MAX_BODY_SIZE ?number (with suffix) 512M
CP_PHP_MEMORY_LIMIT ?number (with suffix) 512M
https://docs.castopod.org/main/fa/getting-started/docker/#environment-variables