Description
In gitlab-ci.yml we use rabbitmq as service that is configured via ENV props - gitlab does not allow volumes in services.
Example is like this
Acceptance tests:
image: php
stage: test
variables:
RABBITMQ_ERLANG_COOKIE: xxx""
RABBITMQ_DEFAULT_USER: "guest"
RABBITMQ_DEFAULT_PASS: "guest"
RABBITMQ_DEFAULT_VHOST: "/xxx"
services:
- name: rabbitmq:3-management
alias: rabbitmq
script:
- composer tests-acceptance
https://docs.gitlab.com/ee/ci/services/#available-settings-for-services
Now we fixed this by changing to rabbitmq:3.8-management, but what can we do for the future?
How can we configure default user/pass and default vhost?