Skip to content

Commit

Permalink
set fixed container name for EBS deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeh committed May 23, 2024
1 parent 7699af7 commit d15062b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,11 +174,13 @@ jobs:
echo "services:" >> docker-compose.yml
echo " client:" >> docker-compose.yml
echo " image: $ECR_REGISTRY/$ECR_REPOSITORY_CLIENT:$IMAGE_TAG" >> docker-compose.yml
echo " container_name: client >> docker-compose.yml
echo " restart: always" >> docker-compose.yml
echo " ports:" >> docker-compose.yml
echo " - 3000:3000" >> docker-compose.yml
echo " api:" >> docker-compose.yml
echo " image: $ECR_REGISTRY/$ECR_REPOSITORY_API:$IMAGE_TAG" >> docker-compose.yml
echo " container_name: api >> docker-compose.yml
echo " restart: always" >> docker-compose.yml
echo " ports:" >> docker-compose.yml
echo " - 4000:4000" >> docker-compose.yml
Expand Down
4 changes: 0 additions & 4 deletions infrastructure/source_bundle/proxy/conf.d/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,4 @@ server {
location / {
proxy_pass http://client;
}

location /cms/ {
proxy_pass http://api;
}
}

0 comments on commit d15062b

Please sign in to comment.