prosoul icon indicating copy to clipboard operation
prosoul copied to clipboard

[docker] docker-compose file seems outdated

Open vchrombie opened this issue 5 years ago • 4 comments

I was trying to test the docker-compose solution, but it has turned out showing some error

Unsupported config option for prosoul: 'depends_on'

I changed the format of the docker-compose.yml and it worked perfectly fine.

version: '2'

services:
    elasticsearch:
      image: bitergia/elasticsearch:6.1.0
      command: /elasticsearch/bin/elasticsearch -E network.bind_host=0.0.0.0
      ports:
        - "9200:9200"
      environment:
        - ES_JAVA_OPTS=-Xms2g -Xmx2g

    kibiter:
      image: bitergia/kibiter:6.1.0-optimized
      links:
        - elasticsearch
      ports:
       - "5601:5601"

    prosoul:
      image: bitergia/prosoul
      ports:
       - "8000:8000"
      depends_on:
       - kibiter
       - elasticsearch
      environment:
       - ALLOWED_HOSTS=prosoul localhost 127.0.0.1
       - ES_URL=https://admin:admin@elasticsearch:9200
       - KIBITER_URL=https://kibiter:80

Also, do you think we should update the elasticsearch and kibiter configurations to ES/Kibiter 6.8?

vchrombie avatar Aug 19 '20 14:08 vchrombie

Hi @vchrombie ,

Also, do you think we should update the elasticsearch and kibiter configurations to ES/Kibiter 6.8?

good point! I agree to update the elasticsearch and kibiter confs to be aligned with the rest of the stack.

You should be able to reuse part of the docker-composes at https://github.com/chaoss/grimoirelab-sirmordred/blob/master/Getting-Started.md#getting-the-containers-

valeriocos avatar Aug 19 '20 14:08 valeriocos

Hi @valeriocos

good point! I agree to update the elasticsearch and kibiter confs to be aligned with the rest of the stack.

You should be able to reuse part of the docker-composes at https://github.com/chaoss/grimoirelab-sirmordred/blob/master/Getting-Started.md#getting-the-containers-

Awesome. I'm thinking to use the with SearchGuard configuration as I remember facing some SSL configuration problem with the without SearchGuard configuration, a few months back. I didn't check in detail about the problem. Using with SearchGuard was a quick fix. :sweat_smile: WDYT?

Also, I was just wondering would it affect the CROSSMINER support in any way. I see instructions to import Kibana templates for the dashboard doc/prosoul-crossminer (kibana-section).

vchrombie avatar Aug 19 '20 14:08 vchrombie

WDYT?

Perfect!

Also, I was just wondering would it affect the CROSSMINER support in any way. I see instructions to import Kibana templates for the dashboard doc/prosoul-crossminer (kibana-section).

It shouldn't have any effect. That doc looks old. AFAIR, everything in CROSSMINER is imported with scripts executed from https://github.com/crossminer/scava-deployment/blob/master/docker-compose.yml#L164

valeriocos avatar Aug 19 '20 16:08 valeriocos

WDYT?

Perfect!

Also, I was just wondering would it affect the CROSSMINER support in any way. I see instructions to import Kibana templates for the dashboard doc/prosoul-crossminer (kibana-section).

It shouldn't have any effect. That doc looks old. AFAIR, everything in CROSSMINER is imported with scripts executed from https://github.com/crossminer/scava-deployment/blob/master/docker-compose.yml#L164

Ok!

vchrombie avatar Aug 19 '20 19:08 vchrombie