From 871019c8b9f8e50f98f8f45128690672e44b681d Mon Sep 17 00:00:00 2001 From: Gautier Pialat Date: Tue, 5 Nov 2019 12:08:57 +0100 Subject: [PATCH 1/2] docker doc update about restart policy --- docs/docker.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/docker.md b/docs/docker.md index 8a254b749..7b9fce85f 100644 --- a/docs/docker.md +++ b/docs/docker.md @@ -170,6 +170,9 @@ docker run -d \ !!! Note All available bot command line parameters can be added to the end of the `docker run` command. +!!! Note + you can define a [restart policy](https://docs.docker.com/config/containers/start-containers-automatically/) in docker. It can be useful in some cases to use the `--restart unless-stopped` flag (crash of freqtrade or reboot of your system). + ### Monitor your Docker instance You can use the following commands to monitor and manage your container: From f6a66cd3de7a1e1dafc6e85788c37dce5435eaed Mon Sep 17 00:00:00 2001 From: Gautier Pialat Date: Tue, 5 Nov 2019 12:14:39 +0100 Subject: [PATCH 2/2] Fix typo --- docs/docker.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docker.md b/docs/docker.md index 7b9fce85f..a06d82bdc 100644 --- a/docs/docker.md +++ b/docs/docker.md @@ -171,7 +171,7 @@ docker run -d \ All available bot command line parameters can be added to the end of the `docker run` command. !!! Note - you can define a [restart policy](https://docs.docker.com/config/containers/start-containers-automatically/) in docker. It can be useful in some cases to use the `--restart unless-stopped` flag (crash of freqtrade or reboot of your system). + You can define a [restart policy](https://docs.docker.com/config/containers/start-containers-automatically/) in docker. It can be useful in some cases to use the `--restart unless-stopped` flag (crash of freqtrade or reboot of your system). ### Monitor your Docker instance