Skip to content

Commit

Permalink
Merge pull request #20 from SaintAngeLs/dev
Browse files Browse the repository at this point in the history
Issue  (#12) and  (#19)
  • Loading branch information
SaintAngeLs authored Mar 10, 2024
2 parents 51f7fb4 + ca7ec46 commit 46171d3
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/cloud_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,13 @@ jobs:
docker-compose -f infrastructure.yml up -d
docker ps -a
EOF
- name: Pull latest images for services
run: |
ssh -T ${{ secrets.DROPLET_USER }}@${{ secrets.DROPLET_IP }} << EOF
cd /root/social_net_app
docker-compose -f services.yml pull
EOF
- name: Deploy containers with the services images
run: |
Expand Down
4 changes: 2 additions & 2 deletions MiniSpace.Web/src/MiniSpace.Web/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
}
},
"AllowedHosts": "*",
"ApiGatewayUrl": "http://localhost:5000",
"ApiGatewayUrl": "http://api-gateway/",
"HttpClientOptions": {
"ApiUrl": "http://localhost:5000/",
"ApiUrl": "http://api-gateway/",
"Retries": 3
}
}
6 changes: 3 additions & 3 deletions MiniSpace/compose/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "3.7"

services:
api-gateway:
image: adrianvsaint/minispace.apigateway
image: adrianvsaint/minispace.apigateway:latest
container_name: api-gateway
restart: unless-stopped
environment:
Expand All @@ -13,7 +13,7 @@ services:
- minispace

identity-service:
image: adrianvsaint/minispace.services.identity
image: adrianvsaint/minispace.services.identity:latest
container_name: identity-service
restart: unless-stopped
ports:
Expand All @@ -22,7 +22,7 @@ services:
- minispace

web:
image: adrianvsaint/minispace.web
image: adrianvsaint/minispace.web:latest
container_name: web
restart: unless-stopped
ports:
Expand Down

0 comments on commit 46171d3

Please sign in to comment.