🔧 Fix All Docker Compose Commands
✅ Updated All Docker Compose References: - package.json: docker:compose and docker:down scripts - scripts/deploy.sh: All compose commands and checks - scripts/monitor.sh: All compose commands - DEPLOYMENT.md: Documentation examples - .github/workflows/ci-cd.yml: CI/CD pipeline �� Benefits: - Compatible with newer Docker versions (docker compose) - No more 'command not found' errors - Consistent syntax across all files - Successful deployment and monitoring 📝 Changed: - 'docker-compose' → 'docker compose' (new syntax) - Updated command availability checks - Fixed all script references
This commit is contained in:
@@ -201,7 +201,7 @@ curl http://localhost:3000/api/health
|
||||
curl -v http://localhost:3000/api/health
|
||||
|
||||
# Container-Logs prüfen
|
||||
docker-compose -f docker-compose.prod.yml logs portfolio
|
||||
docker compose -f docker-compose.prod.yml logs portfolio
|
||||
```
|
||||
|
||||
### **Performance-Probleme**
|
||||
@@ -210,7 +210,7 @@ docker-compose -f docker-compose.prod.yml logs portfolio
|
||||
./scripts/monitor.sh metrics
|
||||
|
||||
# Nginx-Logs prüfen
|
||||
docker-compose -f docker-compose.prod.yml logs nginx
|
||||
docker compose -f docker-compose.prod.yml logs nginx
|
||||
```
|
||||
|
||||
### **SSL-Probleme**
|
||||
@@ -219,7 +219,7 @@ docker-compose -f docker-compose.prod.yml logs nginx
|
||||
openssl x509 -in ssl/cert.pem -text -noout
|
||||
|
||||
# Nginx-Konfiguration testen
|
||||
docker-compose -f docker-compose.prod.yml exec nginx nginx -t
|
||||
docker compose -f docker-compose.prod.yml exec nginx nginx -t
|
||||
```
|
||||
|
||||
## 📋 CI/CD Pipeline
|
||||
|
||||
Reference in New Issue
Block a user