restart: always -> unless-stopped

This commit is contained in:
yzqzss 2024-04-19 22:42:34 +08:00
parent 0d0277c9c6
commit ba35c3e1cd

View File

@ -3,7 +3,7 @@ version: '3.9'
services:
mongo_stwp:
image: mongo_stwp
restart: always
restart: unless-stopped
container_name: "mongo_stwp"
ports:
- "27017:27017"