Re:Best practices around creating production ready web apps ...
by nickjj on Wednesday June 02, 2021 @06:34AM
(#27367041)
All of the example apps in the blog post use restart: "unless-stopped" which ensures they come up automatically after a reboot or if they crash but can be recovered.
Then in dev the restart policy is set to no. This is handled with an environment variable.
Then in dev the restart policy is set to no. This is handled with an environment variable.