Files
michaelschiemer/deployment/NEXT_STEPS.md
Michael Schiemer c087d372c2 Update Docker Registry URLs to HTTPS endpoint (registry.michaelschiemer.de)
- Replace git.michaelschiemer.de:5000 (HTTP) with registry.michaelschiemer.de (HTTPS)
- Update all Ansible playbooks and configuration files
- Update CI/CD workflows to use HTTPS registry endpoint
- Update Docker Compose files with new registry URL
- Update documentation and scripts

Benefits:
- Secure HTTPS connection (no insecure registry config needed)
- Consistent use of HTTPS endpoint via Traefik
- Better security practices for production deployment
2025-10-31 14:35:39 +01:00

49 lines
1.2 KiB
Markdown

# Git Deployment - Nächste Schritte
## ✅ Was funktioniert:
- Git-Variablen in `.env` gesetzt ✅
- Ansible Playbook funktioniert ✅
- Container neu gestartet ✅
## ❌ Was noch fehlt:
- **Image enthält noch alte Version** ohne Git-Funktionalität
- Environment-Variablen werden nicht geladen
## 🔧 Lösung:
### Option 1: Image lokal pushen (Schnell)
```bash
# Im Projekt-Root
docker push registry.michaelschiemer.de/framework:latest
```
Dann Container neu starten:
```bash
cd deployment/ansible
ansible-playbook -i inventory/production.yml playbooks/sync-code.yml \
-e "git_repo_url=https://git.michaelschiemer.de/michael/michaelschiemer.git" \
-e "git_branch=main"
```
### Option 2: Via CI/CD (Empfohlen für Production)
1. **Commit und Push** deiner Änderungen
2. **CI/CD Pipeline** baut automatisch das Image
3. **Dann** `sync-code.yml` ausführen
---
## 📊 Zusammenfassung
**Status:** Setup abgeschlossen, Image muss aktualisiert werden
**Alle Komponenten sind bereit:**
- ✅ Entrypoint Script mit Git-Funktionalität
- ✅ Dockerfile mit Git + Composer
- ✅ Docker Compose mit Git Environment Variables
- ✅ Ansible Playbook für Git-Sync
- ✅ .env mit Git-Variablen
**Nur noch:** Image pushen und Container neu starten!