I’m really not sure if you guys still have a doubt on this.
But, docker-compose up -d worked pretty well for me.
I am using it in a jenkins pipeline, taking everything from a docker-compose.yml file
Hope this helps someone with same doubt.
there is information available on official docker docs page https://docs.docker.com/compose/reference/up/ too