From 245fa421a29919c6de022ad275974eb06fad1cd4 Mon Sep 17 00:00:00 2001 From: Chris Tracy <58871574+ChrisTracy@users.noreply.github.com> Date: Sun, 6 Jun 2021 12:14:58 -0500 Subject: [PATCH 1/2] Adding "restart: always" to ReadMe Adding "restart: always" to ReadMe. I had a hard time figuring out why once of my NPM containers would not start on reboot while the rest of them would. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 17742cc..cfe5f76 100644 --- a/README.md +++ b/README.md @@ -66,6 +66,7 @@ version: '3' services: app: image: 'jc21/nginx-proxy-manager:latest' + restart: always ports: - '80:80' - '81:81' @@ -81,6 +82,7 @@ services: - ./letsencrypt:/etc/letsencrypt db: image: 'jc21/mariadb-aria:latest' + restart: always environment: MYSQL_ROOT_PASSWORD: 'npm' MYSQL_DATABASE: 'npm' From c281b31fc8bc770e0f8b613fbbfc59c4d34d7d3f Mon Sep 17 00:00:00 2001 From: Chris Tracy <58871574+ChrisTracy@users.noreply.github.com> Date: Mon, 7 Jun 2021 09:38:45 -0500 Subject: [PATCH 2/2] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cfe5f76..7d928dc 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ version: '3' services: app: image: 'jc21/nginx-proxy-manager:latest' - restart: always + restart: unless-stopped ports: - '80:80' - '81:81' @@ -82,7 +82,7 @@ services: - ./letsencrypt:/etc/letsencrypt db: image: 'jc21/mariadb-aria:latest' - restart: always + restart: unless-stopped environment: MYSQL_ROOT_PASSWORD: 'npm' MYSQL_DATABASE: 'npm'