كما ذكرت، يعمل ووردبريس على النطاق الرئيسي.
إذا فهمت بشكل صحيح، فإن NGINX الآخر يعمل في الحاوية مع ووردبريس.
لقد اتبعت هذا البرنامج التعليمي: How To Install WordPress With Docker Compose | DigitalOcean
إذا قمت بتشغيل الأمر netstat -tulnp، فهذا ما أحصل عليه:
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN 419/systemd-resolve
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1192/docker-proxy
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 463/sshd: /usr/sbin
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 1179/docker-proxy
tcp6 0 0 :::22 :::* LISTEN 463/sshd: /usr/sbin
udp 0 0 127.0.0.53:53 0.0.0.0:* 419/systemd-resolve