-
Notifications
You must be signed in to change notification settings - Fork 3
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
change docker file to support elastic_search #8
base: master
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.
Some things which seem to be missing here-
- Do we need to set the local directory, like the other containers, for persistent data
- Networking- This should be exposed to webapi and taskengine but presumably not the outside world
- Dependencies -we need to update the start up order/dependency?
- Logging options
@robkooper Rob can you help address these?
docker-compose.yml
Outdated
image: docker.elastic.co/elasticsearch/elasticsearch:7.6.2 | ||
ports: | ||
- 9200:9200 |
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.
in general we don't want to expose ports, for local development this can be done using docker-compose.override.yaml.
- xpack.monitoring.enabled=true | ||
- xpack.watcher.enabled=false | ||
- "ES_JAVA_OPTS=-Xms512m -Xmx512m" |
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.
is this enough memory? How big will the index be, I think we should set Xmx to 2GB
docker-compose.yml
Outdated
- elastic | ||
|
||
kibana: |
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.
is kibana needed? is there a way to prepopulate it with a username/password.
docker-compose.yml
Outdated
networks: | ||
elastic: | ||
driver: bridge |
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.
any reason for bridge network, also if we want the other containers to use this we should use the same network.
Running this docker file should build elastic search server and kibana frontend