Stack not working same as compose

Hi,

I saw a few other people had this issue and didn’t see any answers.

I have managed to get all of my compose files to work including the multi services.

Now I’m looking to deploy a swarm and have found it interesting that my app doesn’t work.

It’s the weirdest thing, the exact same service setup in compose works. I even check the logs after making the stack and logs show everything is going well.

*I’ve also tried making the stack simple with only the api config and no luck.

Stack:

https://www.dropbox.com/s/1x5mmktafg7m5y2/docker-stack2.yml?dl=0

Compose:

https://www.dropbox.com/s/03m6p2qcgw1oo78/docker-compose.omg.yml?dl=0

Anyone else see this issue and resolve it?

Thanks.