-
Notifications
You must be signed in to change notification settings - Fork 11
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
Added start and stop scripts #15
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.
[Docs review] Nice addition! Just some tiiiiiny copyediting nits from me 🤓.
Co-authored-by: Liam Thompson <[email protected]>
Co-authored-by: Liam Thompson <[email protected]>
Co-authored-by: Liam Thompson <[email protected]>
Thanks @leemthompo for the review! |
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.
Thanks! The functionality works. I've added a few nits to try and clarify the output.
start-local.sh
Outdated
@@ -475,6 +536,7 @@ print_steps() { | |||
echo "- Generated random passwords" | |||
echo "- Created a .env file with settings" | |||
echo "- Created a docker-compose.yml file" | |||
echo "- Created start/stop/uninstall commands" |
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.
Small suggestion on the wording. I'm not sure of it, just thinking out loud here.
echo "- Created start/stop/uninstall commands" | |
echo "- Created start.sh/stop.sh/uninstall.sh scripts" |
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 don't think these details are important. The message is to inform the user about the actions and the fact that there are 3 commands that can be used.
start-local.sh
Outdated
echo "- Generated random passwords" | ||
echo "- Created a .env file with settings" | ||
echo "- Created a docker-compose.yml file" | ||
echo "- Created start/stop/uninstall commands" |
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.
What are your thoughts on using indentation to clarify the files that go into elastic-start-local?
- Generated random passwords
- Created the elastic-start-local folder with:
- .env file with settings
- docker-compose.yml
- start.sh/stop.sh/uninstall.sh scripts
- Running docker compose up --wait
Thanks @pquentin for the review! |
This is a proposal for adding a
start.sh
andstop.sh
scripts to facilitate the start and the stop of the docker services. This script can be used after thestart-local
installation, e.g. after a reboot. Using these scripts the user do not need to interact with docker commands anymore for start, stop or re-start Elasticsearch and Kibana.