Skip to content

Commit

Permalink
Fixed issues with production.yaml and docker-compose command in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Rohan Singh authored and Rohan Singh committed Sep 1, 2023
1 parent cc6c5a7 commit 449c643
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/compose/production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ services:
container_name: lainforge-container
ports:
- 80:80
- 443: 443
- 443:443
restart: unless-stopped
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ jobs:
ssh -o StrictHostKeyChecking=no -i key.pem ubuntu@18.140.65.193 'docker rm $(docker ps -aq --filter status="exited")'
- name: Restart using docker compose
run: |
ssh -o StrictHostKeyChecking=no -i key.pem ubuntu@18.140.65.193 'docker-compose up -d -f production.yaml'
ssh -o StrictHostKeyChecking=no -i key.pem ubuntu@18.140.65.193 'docker-compose -f production.yaml up -d'

0 comments on commit 449c643

Please sign in to comment.