Add automatic restart to mongo service
This commit is contained in:
parent
ec06f7e00b
commit
8e7d0c30fe
@ -30,6 +30,7 @@ services:
|
|||||||
mongo:
|
mongo:
|
||||||
container_name: ${NAME}-mongo
|
container_name: ${NAME}-mongo
|
||||||
image: mongo:6.0.5
|
image: mongo:6.0.5
|
||||||
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/mongo:/data/db
|
- ./data/mongo:/data/db
|
||||||
command:
|
command:
|
||||||
|
Loading…
Reference in New Issue
Block a user