-
Notifications
You must be signed in to change notification settings - Fork 336
Rename ES7 docker image service to match existing ES config #523
base: develop
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with changing container_name but why did you change service's name? I see no point there
Because the docker-compose.nodejs.yml file depends on a container called I only decided to rename it to match the already existing ES v5 container, so it's easy to change between them. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, you are right!
But please rebase it to the develop
at first. We will merge develop
to master
in the new release
24b5436
to
df80569
Compare
df80569
to
4efb4c2
Compare
@Fifciu No problem, should be fixed now. |
@@ -1,12 +1,12 @@ | |||
version: '3.0' | |||
services: | |||
es7: | |||
container_name: es7 | |||
es1: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't this is in conflict for people that my want to run both at the same time as an migration step? So es5 and es7.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's true, however you can still start/stop the containers when testing
both.
With the current approach you need to change the container names in the
docker files and rebuild them so there's an extra step there.
The default docker setup expects the ES container to be named
elasticsearch
so this should fix the issue where the API cannot connect to the ES server. I also renamed the service node toes1
es that's the name the docker-compose.nodejs.yml depends on.Fixes #509