Skip to content

Commit

Permalink
Merge pull request #185 from osu-tournament-rating/hotfix/docker-rest…
Browse files Browse the repository at this point in the history
…art-always

Add restart always to docker run
  • Loading branch information
hburn7 authored May 11, 2024
2 parents cbcfd26 + fba177b commit 434ffb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/prod-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ jobs:
docker pull stagecodes/otr-web-prod:latest
docker stop otr-web-prod || true
docker rm otr-web-prod || true
docker run -d -p 3000:3000 --name otr-web-prod --env-file ~/otr-web/.env stagecodes/otr-web-prod:latest
docker run -d -p 3000:3000 --restart always --name otr-web-prod --env-file ~/otr-web/.env stagecodes/otr-web-prod:latest
2 changes: 1 addition & 1 deletion .github/workflows/staging-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,4 @@ jobs:
docker pull stagecodes/otr-web-staging:latest
docker stop otr-web-staging || true
docker rm otr-web-staging || true
docker run -d -p 3000:3000 --name otr-web-staging --env-file ~/otr-web/.env stagecodes/otr-web-staging:latest
docker run -d -p 3000:3000 --restart always --name otr-web-staging --env-file ~/otr-web/.env stagecodes/otr-web-staging:latest

0 comments on commit 434ffb5

Please sign in to comment.