Port Forward within container

I am creating a container using docker compose. which has an application expecting requests at port :5000.
But i want to expose port 80 from the container.
So is there any way where i can map all the incoming request at 80 to 5000 in container.
This works in Kube yaml by setting target port to 5000 and exposing 80 but not sure how to do it in docker-compose

The ports syntax allows for specifying both the host and container ports.

  - "80:5000"