drop port forwarding and give names to magic variables

I'm not great with bash scripting so I opted to avoid trying to merge environment vars into the config, but at least they have explicit names for anyone copying the file.