Compare commits

..

2 Commits

Author SHA1 Message Date
1fd5cab540 Merge pull request 'deploy sh4' (#9) from develop into test
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #9
2026-03-27 14:58:46 +03:00
Bulut Kuru
272010d738 deploy sh4
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2026-03-27 14:55:05 +03:00
3 changed files with 0 additions and 4 deletions

View File

@@ -5,7 +5,6 @@ services:
build: build:
context: . context: .
dockerfile: Dockerfile dockerfile: Dockerfile
container_name: bdc-api-prod
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- ./:/var/www/html - ./:/var/www/html

View File

@@ -5,7 +5,6 @@ services:
build: build:
context: . context: .
dockerfile: Dockerfile dockerfile: Dockerfile
container_name: bdc-api-test
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- ./:/var/www/html - ./:/var/www/html

View File

@@ -43,10 +43,8 @@ chmod 2775 "$UPLOADS_DIR" 2>/dev/null || true
docker compose -p "$COMPOSE_PROJECT" -f "$COMPOSE_FILE" down --remove-orphans || true docker compose -p "$COMPOSE_PROJECT" -f "$COMPOSE_FILE" down --remove-orphans || true
docker compose -p "$COMPOSE_PROJECT" -f "$COMPOSE_FILE" up -d --build docker compose -p "$COMPOSE_PROJECT" -f "$COMPOSE_FILE" up -d --build
echo "⏳ Container hazır olması bekleniyor..."
for i in {1..30}; do for i in {1..30}; do
if docker compose -p "$COMPOSE_PROJECT" -f "$COMPOSE_FILE" ps --status running | grep -q "$CONTAINER"; then if docker compose -p "$COMPOSE_PROJECT" -f "$COMPOSE_FILE" ps --status running | grep -q "$CONTAINER"; then
echo "✅ Container ayakta"
break break
fi fi
if [ "$i" -eq 30 ]; then if [ "$i" -eq 30 ]; then