Single Server Docker Install on Custom Port

Hi, I have been trying to piece together how to deploy ERPnext on a server, alongside apache which is already running on it.

I have tried a few different tutorials, as well as digging into the port multitenancy guide, using the easy install and modifying the compose file it produces, doing the single server install from scratch, and asking gpt 4 and claude opus to make sense of all the material I have found on the matter.

Having tried all these things I have run out of things to try.

Is there a step by step guide setting up a single server docker deployment for production use, that doesn’t use traefik since port 80 and 443 are taken, and instead opens up port 8080 since I already have my domain set up in apache and proxying to port 8080?