Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docker] docker-compose file seems outdated #214

Open
vchrombie opened this issue Aug 19, 2020 · 4 comments · May be fixed by #215
Open

[docker] docker-compose file seems outdated #214

vchrombie opened this issue Aug 19, 2020 · 4 comments · May be fixed by #215

Comments

@vchrombie
Copy link
Contributor

vchrombie commented Aug 19, 2020

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?

@valeriocos
Copy link
Contributor

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-

@vchrombie
Copy link
Contributor Author

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. 😅
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).

@valeriocos
Copy link
Contributor

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

@vchrombie vchrombie linked a pull request Aug 19, 2020 that will close this issue
@vchrombie
Copy link
Contributor Author

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants