I'm using a definitions.json file to define user and queue configurations for rabbitmq. When I create a docker image, I add this file as a volume:
services:
rabbitmq:
image: rabbitmq:3.8.16-management-alpine
container_name: 'rabbitmq'
ports:
- 5672:5672
- 15672:15672
networks:
- XXX
volumes:
- ./conf/rabbitmq-definitions.json:/etc/rabbitmq/definitions.json:ro
However, looking at circleci documentation, it seems like you cannot mount a volume in circleci. Is there any other way I can add the definitions file to make it work with circleci as well?