This repository has been archived by the owner on Jul 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add leave_on_terminate (default true so containers gracefully l…
…eave when ECS stops the task) (#15) * feat: set leave_on_terminate from variable * fix: helps if you pass the variable * fix: convert boolean to string for template * feat: making this more opinionated, setting leave_on_terminate true by default The consul default for leave_on_terminate is false; however running consul in docker means we need to set this to true: when the docker container exits, local data in the container is lost; therefore we need to send a graceful leave before exiting. Docker stop (and ECS Stop Task) send a TERM. * chore: gitignore * feat: update variable description and README for leave_on_terminate
- Loading branch information
Showing
5 changed files
with
10 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,4 +28,5 @@ Session.vim | |
# auto-generated tag files | ||
tags | ||
|
||
|
||
# editors | ||
.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters