Commit 974d711
authored
Restart unless stopped (#517)
Restarting unless-stopped is a good practice in production-like
environments (and most of the non-production systems).
It improves resilience (containers will restart if node is rebooted or
if one of the containers gets killed by OOM); it also helps with
predictibility as it won't restart the containers if we intentionally
stopped them.1 parent 0e60232 commit 974d711
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
| |||
0 commit comments