Network "barkati" is declared as external, but it is not in the right scope: "local" instead of "swarm"

So it is exactly how @meyay suspected. I can only link one of his answers from another topic in addition to what he mentioned here.

So it looks like you either use docker compose without swarm on a single node or give up on the static IP that we never use anyway.