From 3e1518fef63961425090ba4a3811cc5bbbe8c160 Mon Sep 17 00:00:00 2001 From: Jamie Curnow Date: Tue, 8 Jun 2021 08:48:26 +1000 Subject: [PATCH] Updated docs for docker restart policy --- docs/advanced-config/README.md | 6 +++--- docs/setup/README.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/advanced-config/README.md b/docs/advanced-config/README.md index 5fa8067..6182079 100644 --- a/docs/advanced-config/README.md +++ b/docs/advanced-config/README.md @@ -34,7 +34,7 @@ services: volumes: - './data:/data' - '/var/run/docker.sock:/var/run/docker.sock' - restart: always + restart: unless-stopped networks: default: @@ -68,7 +68,7 @@ secrets: services: app: image: 'jc21/nginx-proxy-manager:latest' - restart: always + restart: unless-stopped ports: # Public HTTP Port: - '80:80' @@ -98,7 +98,7 @@ services: - db db: image: jc21/mariadb-aria - restart: always + restart: unless-stopped environment: # MYSQL_ROOT_PASSWORD: "npm" # use secret instead MYSQL_ROOT_PASSWORD__FILE: /run/secrets/DB_ROOT_PWD diff --git a/docs/setup/README.md b/docs/setup/README.md index 5b8b87e..99fbd7b 100644 --- a/docs/setup/README.md +++ b/docs/setup/README.md @@ -25,7 +25,7 @@ version: "3" services: app: image: 'jc21/nginx-proxy-manager:latest' - restart: always + restart: unless-stopped ports: # Public HTTP Port: - '80:80' @@ -54,7 +54,7 @@ services: - db db: image: 'jc21/mariadb-aria:latest' - restart: always + restart: unless-stopped environment: MYSQL_ROOT_PASSWORD: 'npm' MYSQL_DATABASE: 'npm' @@ -96,7 +96,7 @@ version: "3" services: app: image: 'jc21/nginx-proxy-manager:latest' - restart: always + restart: unless-stopped ports: # Public HTTP Port: - '80:80'