How do I pass in docker run commands in gitlab-ci.yml?

I am trying to run postgres docker container and map the data directly to tmpfs. In docker I would specify this as:

docker run --name postgresql --mount type=tmpfs,destination=/var/lib/postgresql/data

How do I pass parameters like --mount into the docker container that starts up for the postgres image using gitlab-ci?

Or is there another way to do this?