CI tests with chrome-selenium and apache webserver

hi guys,

i try to test my php application on gitlab CI/CD with docker. i want to test my application with codeception and chrome selenium.

on my local machine i have used docker-compose and all works great.
my docker-compose.yml file looks like this:

version: '3'
services:
  codeception:
    image: codeception/codeception
    depends_on:
      - chrome
      - web
    volumes:
      - './tests:/project/tests'
      - './codeception.yml:/project/codeception.yml'
  web:
    image: php:7-apache
    ports:
      - 80:80
    volumes:
      - .:/var/www/html
  chrome:
    image: selenium/standalone-chrome
    ports:
        - 4444
        - 5900

run with: docker-compose run --rm codeception run acceptance

i tried to adapt this docker-compose to gitlab CI. but the problem is that i can not add volumes to the docker services. on php:7-apache e.g. i have to add the php source files to /var/www/html/

i am using gitlab cloud and dont have a own gitlab server running.

at the moment i have the following .gitlab-ci.yml config:

stages:
  - test

test:
  stage: test
  image:
      name: "codeception/codeception"
  services:
      - name: php:7.1-apache
        alias: web
      - name: selenium/standalone-chrome
        alias: chrome
  script:
      - run -d acceptance

this can’t working, because the shared volumes are missed.

does anybody can help me with this issue?
thanks