Nginx Proxy Manager Stack: add restart unless stopped
This commit is contained in:
parent
13028c208b
commit
467a3296fd
1 changed files with 2 additions and 1 deletions
|
@ -3,7 +3,6 @@ name: nginx-proxy-manager-stack
|
|||
services:
|
||||
app:
|
||||
image: 'jc21/nginx-proxy-manager:latest'
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
# These ports are in format <host-port>:<container-port>
|
||||
- '80:80' # Public HTTP Port
|
||||
|
@ -26,6 +25,7 @@ services:
|
|||
- ${LE_PATH:-./LetsEncrypt}:/etc/letsencrypt
|
||||
depends_on:
|
||||
- db
|
||||
restart: unless-stopped
|
||||
logging:
|
||||
driver: loki
|
||||
options:
|
||||
|
@ -40,6 +40,7 @@ services:
|
|||
TZ: ${TZ:-Europe/Stockholm}
|
||||
volumes:
|
||||
- ${DB_PATH:-./Database}:/var/lib/postgresql/data
|
||||
restart: unless-stopped
|
||||
logging:
|
||||
driver: loki
|
||||
options:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue