Skip to content

Commit

Permalink
chore: blue green sh 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
clean2001 committed Nov 10, 2024
1 parent d8deb61 commit 43eb161
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion layer-api/infra/production/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ else
done;

echo "4. reload nginx"
sudo cp /etc/nginx/nginx.blue.conf /etc/nginx/nginx.conf
sudo cp ./nginx.blue.conf ./nginx.conf
sudo nginx -s reload

echo "5. green container down"
Expand Down
1 change: 0 additions & 1 deletion layer-api/infra/production/docker-compose-blue.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ services:
container_name: nginx-blue
depends_on:
- layer-api-blue
- batch-job-blue
ports:
- "80:80"
volumes:
Expand Down
1 change: 0 additions & 1 deletion layer-api/infra/production/docker-compose-green.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ services:
container_name: nginx-green
depends_on:
- layer-api-green
- batch-job-green
ports:
- "80:80"
volumes:
Expand Down

0 comments on commit 43eb161

Please sign in to comment.