it-at-m / refarch-templates

All templates for the Reference Architecture of it@M
MIT License
6 stars 4 forks source link

Bug/stack rm container name and restart policy #397

Closed simonhir closed 1 week ago

simonhir commented 1 week ago

Description

Reference

Issues closes #309 https://github.com/it-at-m/refarch/pull/199

devtobi commented 1 week ago

Actually just thinking about this in terms of the referenced issue, I guess its not optimal to get rid of the restart policy. Removing it will get of any safety mechanism while developing (e.g. when a container crashes). The auto start "problem" at system bootup only happens, when the last state of the stack was "up". When I manually shut down the stack before shutting down my system, it won't boot up automatically.

simonhir commented 1 week ago

In my opinion a container crashing without recurring reason will be so rare that isn't a real usecase.