Port 81 is where everybody expects the admin interface, so it is also where everybody looks. You can move it.
Set NPM_ADMIN_PORT and publish the same port number. Both sides have to match:
ports:
- '80:80'
- '443:443'
- '8000:8000'
environment:
NPM_ADMIN_PORT: '8000'
After a recreate the admin UI answers on http://localhost:8000 instead of port 81. Remove the old 81:81 mapping, or you publish a port that nothing listens on any more.
Caveat: this is no security measure. Anyone who scans your host finds the new port in seconds. It gives you room when something else already uses 81, which on a busy server happens more than you would think. If you want the admin page protected, keep it off the internet and reach it over your LAN or a VPN.
Both numbers must match because NPM listens on the port you name inside the container, and Docker only forwards the port you publish. If the page does not load after the change, that mismatch is the first thing I would check, then a leftover old container.
Further reading: Nginx Proxy Manager: Advanced Configuration, On this site: run Nginx Proxy Manager as a normal user with PUID and PGID, On this site: put Nginx Proxy Manager on a Docker network and stop publishing ports, On this site: Guide: put Nextcloud behind Nginx Proxy Manager with HTTPS and the right headers
Going deeper: Guide: fix a 502 Bad Gateway in Nginx Proxy Manager, with a checklist that finds the cause