How to pass command line options to Gitlab CI services?

I am configuring very basic Gitlab pipeline for protractor tests. There is only one service, using docker image selenium/standalone-chrome-debug.

I want to start the image within GitLab CI as a service but with specific command line options: "docker run -d -p 4444:4444 -p 5900:5900 selenium/standalone-chrome-debug". I found out that it is possible to pass command line arguments by creating a custom docker image with CMD (details here #2514 (closed)), but I can't find a word about passing command line options. It is even possible?

stage: test
  services:
    - name: selenium/standalone-chrome-debug
  before_script:  
    - removed as it is not relevant
  script:
    - npm run $TEST_SUITE_NAME -- --host=selenium__standalone-chrome-debug
Assignee Loading
Time tracking Loading