Need help in Running Regression test with Docker compose on docker

We have Regression test to run using docker compose.

Here are the manual steps we are following on runner to Run the Regression test
sudo docker run -it --rm --name ci --runtime nvidia --network docker_mv-comm -v /var/run/docker.sock:/var/run/docker.sock
The above step will let get into docker.
Followed by run , CD to Path of docker compose and RUN docker-compose up.

How Can I handle this on GitlabCi.yml File . Help will be much appreciated