build: fix restart policy
This commit is contained in:
parent
5b8d9e1f4a
commit
07edf0e5ad
@ -59,7 +59,7 @@ jobs:
|
|||||||
docker stop mirea-backend || true &&
|
docker stop mirea-backend || true &&
|
||||||
docker rm mirea-backend || true &&
|
docker rm mirea-backend || true &&
|
||||||
docker run -d --name mirea-backend -p 8085:8080 \
|
docker run -d --name mirea-backend -p 8085:8080 \
|
||||||
-restart=on-failure \
|
--restart=on-failure:10 \
|
||||||
-v mirea-data:/data \
|
-v mirea-data:/data \
|
||||||
-e PATH_TO_SAVE=$PATH_TO_SAVE \
|
-e PATH_TO_SAVE=$PATH_TO_SAVE \
|
||||||
-e SECURITY_SIGNING_TOKEN=$SECURITY_SIGNING_TOKEN \
|
-e SECURITY_SIGNING_TOKEN=$SECURITY_SIGNING_TOKEN \
|
||||||
|
Loading…
Reference in New Issue
Block a user