Activiti installation in Linux by docker-compose failed at rabbitmq

cancel
Showing results for 
Search instead for 
Did you mean: 
chsun
Active Member II

Activiti installation in Linux by docker-compose failed at rabbitmq

Hello,

I am installing the Activiti 7 by docker-compose following the steps in https://activiti.gitbook.io/activiti-7-developers-guide/getting-started/getting-started-activiti-clo...

I ran 'make application' and got the following error:

...
make rabbitmq/up make[1]: Entering directory `/opt/activiti-cloud-examples/docker-compose' docker-compose up -d rabbitmq Creating rabbitmq ... error ERROR: for rabbitmq Cannot create container for service rabbitmq: invalid volume spec "rabbitmq-data": invalid volume specification: 'rabbitmq-data': invalid mount config for type "volume": invalid mount path: 'rabbitmq-data' mount path must be absolute ERROR: for rabbitmq Cannot create container for service rabbitmq: invalid volume spec "rabbitmq-data": invalid volume specification: 'rabbitmq-data': invalid mount config for type "volume": invalid mount path: 'rabbitmq-data' mount path must be absolute ERROR: Encountered errors while bringing up the project. make[1]: *** [rabbitmq/up] Error 1 make[1]: Leaving directory `/opt/activiti-cloud-examples/docker-compose' make: *** [rabbitmq] Error 2

How to fix the problem?

 

 

4 Replies
Serdar
Member II

Re: Activiti installation in Linux by docker-compose failed at rabbitmq

Hi chsun,

I did run into the same issue while installation. Have you manage to proceed? 

Thanks in advance,

Serdar

chsun
Active Member II

Re: Activiti installation in Linux by docker-compose failed at rabbitmq

Hi Serdar,

My solution is to change the rabbitmq setting in docker-compose.yml

 

  rabbitmq:
    container_name: rabbitmq
    image: rabbitmq
    ports:
      - 5672:5672
      - 15672:15672
      - 61613:61613
    volumes:
      - ./enabled_plugins:/etc/rabbitmq/enabled_plugins
      - rabbitmq-data:/var/lib/rabbitmq
    restart: unless-stopped

I am not sure if it is correct, but it seems running. I did not fully test the set up yet.

 

Regards,

 

chsun

Serdar
Member II

Re: Activiti installation in Linux by docker-compose failed at rabbitmq

Hi Chsun,

Thank you for your quick reply. I tried your solution. It seems OK for rabbitmq. But I have different isues before starting up the rabbitmq. I noticed it when I looked the output form "make logs". Still struggling.

Thanks again.

Best Regards,

Serdar

denotab
Member II

Re: Activiti installation in Linux by docker-compose failed at rabbitmq

THANKS

It was really helpfull.

I am indebted to you.