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

chore(dev) : Do not restart docker images in dev #313

Merged
merged 1 commit into from
Oct 8, 2024
Merged

Conversation

vperron
Copy link
Contributor

@vperron vperron commented Oct 8, 2024

The 'on-failure' setting makes the images restart almost all the time, especially upon reboot, if I work on this project or not.

This is good in a production setting, but in development, restarting after a reboot on my personal computer drains my battery for no good reason.

Furthermore, if there was an actual issue with the containers in development, they should just stop and the developer should fix the issue, not run into a mindless loop till oblivion.

@vperron vperron requested a review from hlecuyer October 8, 2024 14:09
@vperron vperron self-assigned this Oct 8, 2024
The 'on-failure' setting makes the images restart almost all the time,
especially upon reboot, if I work on this project or not.

This is good in a production setting, but in development, restarting
after a reboot on my personal computer drains my battery for no good
reason.

Furthermore, if there was an actual issue with the containers in
development, they should  just stop and the developer should fix the
issue, not run into a mindless loop till oblivion.
@vperron vperron marked this pull request as ready for review October 8, 2024 15:53
@vperron vperron requested a review from vmttn as a code owner October 8, 2024 15:53
@vperron vperron merged commit 0aabc8f into main Oct 8, 2024
6 of 7 checks passed
@vperron vperron deleted the vperron/no-restart branch October 8, 2024 15:53
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 this pull request may close these issues.

2 participants