Run container with network settings

Yes, I didn’t realize, that I could use docker-compose not only on the stage of image creation, but also on the stage of pulling image with container creation in new device ))
Maybe it’s more convenient
Concerning of proxy, I used in my project the following approach:
in Dockerfile for proxy service:

  FROM nginx:1.25
  COPY default.conf /etc/nginx/conf.d

And default.conf:

  server {
     listen 80;
     server_name localhost;

    location / {
          proxy_pass http://frontend:3000/;
    }

    location /api/ {
         proxy_pass http://server:8083/;
       }
   }

In docker compose:

     proxy:
         build: ./docker/proxy
         ports:
           - "3001:80"
         depends_on:
             - frontend
             - server
         networks:
           - custom_net

Is it what you mean, when you said about nginx-proxy ?