Docker containers don't restart after reboot (except mail) #682
Unanswered
tobika
asked this question in
Self-Hosted Support
Replies: 2 comments
-
|
Yes, on our production servers we actually use |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Hi, You can just add a restart policy to all necessary containers. Either: First does just restarting the container when it was running before the shutdown. Second restarts the container until it is destroyed. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I see there is a
restart: alwaysdefined for the mail container.https://github.com/plausible/hosting/blob/0e9224017420417c3a45f89d1add4b1ccc2c29bd/docker-compose.yml#L5
Shouldn't this be defined in the plausible container to restart everything? I'm new to docker so maybe this doesn't work but makes sense to me. Thanks for the great project :)
Beta Was this translation helpful? Give feedback.
All reactions