ports:
# - 1080:80 # Can be removed when running behind a web server or reverse proxy (like Apache, Nginx, Cloudflare Tunnel and else). See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md
- 8080:8080
# - 8443:8443 # Can be removed when running behind a web server or reverse proxy (like Apache, Nginx, Cloudflare Tunnel and else). See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md
environment: # Is needed when using any of the options below
- APACHE_PORT=11000
Whatever you are trying to do there doesnt make sense.
You are telling the Apache webserver that runs inside the container to listen on port 11000, fine. But then you are mapping 8080 to 8080 on the Docker host, how is that supposed to work? And you also mention using NPM, but there is nothing about that visible in the shared compose bit.
Why not simply follow the documentation of Nextcloud, and if you want to combine it with NPM, follow their documentation too?
/r/Nextcloud and /r/NginxProxyManager also exist and are active. This here is not a general techsupport-for-whatever-software subreddit.
And if you have questions about very basic Docker usage, try /r/Docker but i would suggest you simply consult the Docker documentation first.
I know NC AiO is a bit weird and unique. But i can only go by what OP is sharing as the compose they are attempting. And none of that makes sense as i said.
A lot of people are allergic to properly reading documentation and instead they come to places like here and ask others to fix their mistakes.