build: fix restart policy
All checks were successful
.NET Test Pipeline / build-and-test (push) Successful in 3m4s
Build and Deploy Docker Container / build-and-deploy (push) Successful in 6m4s

This commit is contained in:
Polianin Nikita 2024-07-03 00:15:41 +03:00
parent 5b8d9e1f4a
commit 07edf0e5ad

View File

@ -59,7 +59,7 @@ jobs:
docker stop mirea-backend || true &&
docker rm mirea-backend || true &&
docker run -d --name mirea-backend -p 8085:8080 \
-restart=on-failure \
--restart=on-failure:10 \
-v mirea-data:/data \
-e PATH_TO_SAVE=$PATH_TO_SAVE \
-e SECURITY_SIGNING_TOKEN=$SECURITY_SIGNING_TOKEN \