Avatar for the prisma user
prisma
prisma
BlogDocsChangelog

chore(docker): change restart always to unless-stopped

#19171Merged
Comparing
joel/docker-restart-unless-stopped
(
cdf2bbf
) with
main
(
b08df12
)
CodSpeed Performance Gauge
+5%
Improvements
0
Regressions
0
Untouched
3
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

typescript compilation ~50 Models
packages/client/src/__tests__/benchmarks/huge-schema/huge-schema.bench.ts::typescript::typescript compilation ~50 Models
CodSpeed Performance Gauge
+18%
23.5 ms
20 ms
client generation ~50 Models
packages/client/src/__tests__/benchmarks/huge-schema/huge-schema.bench.ts::typescript::client generation ~50 Models
CodSpeed Performance Gauge
0%
1.8 s
1.8 s
client generation 100 models with relations
packages/client/src/__tests__/benchmarks/lots-of-relations/lots-of-relations.bench.ts::typescript::client generation 100 models with relations
CodSpeed Performance Gauge
-3%
10.5 s
10.8 s

Commits

Click on a commit to change the comparison range
Base
main
b08df12
+5%
chore(docker): change restart always to unless-stopped It can be very confusing with always to stop some images, close and reopen Docker Desktop and find them on again. Also when rebooting a computer after stopping all images they would start all again (eating all the RAM). "unless-stopped" is better for me and us in general I think. Note: Similar to always, except that when the container is stopped (manually or otherwise), it is not restarted even after Docker daemon restarts.
cdf2bbf
2 years ago
by Jolg42
© 2025 CodSpeed Technology
Home Terms PrivacyDocs