feat: add system maintenance automation
This commit is contained in:
6
Makefile
6
Makefile
@@ -215,6 +215,10 @@ logs-production: ## Show production logs
|
||||
@echo "📋 Showing production logs..."
|
||||
@cd deployment && make logs-prod-php
|
||||
|
||||
logs-staging: ## Show staging-app container logs via SSH
|
||||
@echo "📋 Showing staging-app logs..."
|
||||
@ssh -i ~/.ssh/production deploy@94.16.110.151 "cd ~/deployment/stacks/staging && docker compose logs -f staging-app"
|
||||
|
||||
# SSL Certificate Management (PHP Framework Integration)
|
||||
ssl-init: ## Initialize Let's Encrypt certificates
|
||||
@echo "🔒 Initializing SSL certificates..."
|
||||
@@ -249,4 +253,4 @@ ssl-backup: ## Backup Let's Encrypt certificates
|
||||
push-staging: ## Pusht den aktuellen Stand nach origin/staging
|
||||
git push origin HEAD:staging
|
||||
|
||||
.PHONY: up down build restart logs ps phpinfo deploy setup clean clean-coverage status fix-ssh-perms setup-ssh test test-coverage test-coverage-html test-unit test-framework test-domain test-watch test-parallel test-profile test-filter security-check security-audit-json security-check-prod update-production restart-production deploy-production-quick status-production logs-production ssl-init ssl-init-staging ssl-test ssl-renew ssl-status ssl-backup push-staging
|
||||
.PHONY: up down build restart logs ps phpinfo deploy setup clean clean-coverage status fix-ssh-perms setup-ssh test test-coverage test-coverage-html test-unit test-framework test-domain test-watch test-parallel test-profile test-filter security-check security-audit-json security-check-prod update-production restart-production deploy-production-quick status-production logs-production logs-staging ssl-init ssl-init-staging ssl-test ssl-renew ssl-status ssl-backup push-staging
|
||||
|
||||
Reference in New Issue
Block a user