DocFraggle
No. I never do that. I only motified the port in yml, or mailcow can’t run and report wrong ;
Before:
![](https://community.mailcow.email/assets/files/2024-03-26/1711493758-770960-image.png)
and mailcow report after sudo docker-compose up -d:
root@vmi1621588:/etc/nginx/root/mailcow-dockerized# sudo docker-compose up -d
ERROR: The Compose file ‘./docker-compose.yml’ is invalid because:
services.nginx-mailcow.ports contains an invalid type, it should be a number, or an object
services.nginx-mailcow.ports contains an invalid type, it should be a number, or an object
That’s why I motified into “8080:80 8443:443”,after that mailcow could work.
By the way if there’s wrong in DNS? I could see it sometimes and sometimes it’s Page not found:
![](https://community.mailcow.email/assets/files/2024-03-26/1711494032-372603-2024-03-27-002002.png)