Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions backend/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ services:
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
- ./nginx/logs:/var/log/nginx
depends_on:
- fastapi-blue
- fastapi-green
restart: unless-stopped
networks:
- app-network
Expand Down
3 changes: 2 additions & 1 deletion backend/scripts/blue-green-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ health_check() {
start_nginx_if_needed() {
if ! docker ps | grep -q "nginx"; then
echo "๐ŸŒ Nginx ๋กœ๋“œ ๋ฐธ๋Ÿฐ์„œ ์‹œ์ž‘..."
docker-compose -f docker-compose.yml up -d nginx
# nginx๋งŒ ๋‹จ๋…์œผ๋กœ ์‹œ์ž‘
docker-compose -f docker-compose.yml up -d nginx --no-deps
else
echo "โœ… Nginx ๋กœ๋“œ ๋ฐธ๋Ÿฐ์„œ๊ฐ€ ์ด๋ฏธ ์‹คํ–‰ ์ค‘์ž…๋‹ˆ๋‹ค."
fi
Expand Down
Loading