UGREEN NAS w/ 2 LAN Ports

Hello all,

Docker novice here.

I’ve got a UGREEN NAS with 2 LAN connections, one to my main router, and one to my secondary router (which is then also connected via WAN to my main router).

The second router also has Tailscale installed for remote access.

I need to know how to run some containers with an IP from LAN1 and some containers with LAN2.

I hope i’m posting in the right place.

Thanks,
Hunter

Just assign the IP, for example in compose:

ports:
  - 1.2.3.4:80:80

forget to mention, I have Tailscale setup on my secondary router. Would that change anything?