Edit the existing file with nano or similar and comment out the ports. ./launcher rebuild app.
Probably for your case, you could also use --skip-rebuild as well, so you’d run
./discourse-setup --skip-connection-test --skeip-rebuild
nano containers/app.yml
./launcher rebuild app