Updated docs for docker restart policy

This commit is contained in:
Jamie Curnow 2021-06-08 08:48:26 +10:00
parent e59db84721
commit 3e1518fef6
2 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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'