Multiple projects with directus simultaneously

I ran two directus successfully and tried and go to admin and then login and its a success. But for some reason, when I refresh the browser on the second (not logged in) and go back to the first app and reload the page, it logs out. Have you experienced it?

Here are the basic setup I did with each docker-compose.yml

Can someone tell me what’s the problem