Skip to content

Commit f5a6d53

Browse files
committed
Fix: add docker auto restart option
1 parent 595849d commit f5a6d53

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/dev-deploy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ jobs:
6363
6464
docker run -d \
6565
--name server \
66+
--restart unless-stopped \
6667
-e SPRING_PROFILES_ACTIVE=dev \
6768
-e 'SENTRY_AUTH_TOKEN=${{ secrets.SENTRY_AUTH_TOKEN }}' \
6869
-e SENTRY_DSN=${{ vars.SENTRY_DSN }} \
@@ -84,7 +85,7 @@ jobs:
8485
-e FIREBASE_CONFIG_BASE64=${{ secrets.FIREBASE_CONFIG_BASE64 }} \
8586
-e SWAGGER_USERNAME=${{ secrets.SWAGGER_USERNAME }} \
8687
-e SWAGGER_PASSWORD=${{ secrets.SWAGGER_PASSWORD }} \
87-
-p 80:8080 \
88+
-p 8080:8080 \
8889
devsolfe/server
8990
9091
docker image prune -f

0 commit comments

Comments
 (0)