How should the parameters in docker run be described in docker-compose

  docker, question

Such as
docker:

docker run -d --hostname my-rabbit --name some-rabbit -e RABBITMQ_ERLANG_COOKIE='secret cookie here' rabbitmq:3

docker-compose:

version: '3'
 services:
 mq:
 image: rabbitmq:3
 container_name: 'docker-db'
 //Here-how should the --hostname parameter be described?

Official documents clearly exist, why notctrl+fSearch?https://docs.docker.com/compo …