Set restart to always
This commit is contained in:
+2
-3
@@ -1,9 +1,8 @@
|
|||||||
version: "3.9"
|
|
||||||
services:
|
services:
|
||||||
db:
|
db:
|
||||||
image: mongo
|
image: mongo
|
||||||
container_name: Lynx-DB
|
container_name: Lynx-DB
|
||||||
restart: on-failure:5
|
restart: always
|
||||||
security_opt:
|
security_opt:
|
||||||
- no-new-privileges:true
|
- no-new-privileges:true
|
||||||
healthcheck:
|
healthcheck:
|
||||||
@@ -19,7 +18,7 @@ services:
|
|||||||
lynx:
|
lynx:
|
||||||
image: jackbailey/lynx
|
image: jackbailey/lynx
|
||||||
container_name: Lynx
|
container_name: Lynx
|
||||||
restart: on-failure:5
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- 3485:3000
|
- 3485:3000
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|||||||
Reference in New Issue
Block a user