Docker boringproxy + docker nginx(?)

I looked at the documentation but did not find the answer to my question.
What I have is a VPS, a domain name, a local computer.
As it was before - VPS-only services, domain name access ( , ) via docker nginx.
What I was able to do was launch boringproxy via docker and gain access to local services by domain name, access to vps services only by port.
What I want is access to local services via boringproxy, access to vps services as before by domain name. Preferably everything via docker.
PS. Sorry if it’s translated incorrectly, it’s not my native language.