Enable Discovery debug logging for production troubleshooting
- Add DISCOVERY_LOG_LEVEL=debug - Add DISCOVERY_SHOW_PROGRESS=true - Temporary changes for debugging InitializerProcessor fixes on production
This commit is contained in:
43
backups/docs-backup-20250731125004/DEPLOYMENT.md
Normal file
43
backups/docs-backup-20250731125004/DEPLOYMENT.md
Normal file
@@ -0,0 +1,43 @@
|
||||
# 🚀 Deployment-Anleitung (Ansible-basiert)
|
||||
|
||||
Dieses Projekt verwendet Ansible zur automatisierten Bereitstellung.
|
||||
|
||||
---
|
||||
|
||||
## 🧱 Struktur
|
||||
|
||||
- `ansible/setup.yml` → Bereitet Zielserver vor (Docker, Git, Benutzer)
|
||||
- `ansible/deploy.yml` → Clont Projekt & startet Docker Compose
|
||||
|
||||
---
|
||||
|
||||
## 📂 Vorbereitung
|
||||
|
||||
1. Zielserver (Debian)
|
||||
2. SSH-Zugang (z. B. via `~/.ssh/id_rsa`)
|
||||
3. Eintrag in `ansible/inventory.ini`:
|
||||
|
||||
```ini
|
||||
[web]
|
||||
123.123.123.123 ansible_user=root
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## ▶️ Ausführen
|
||||
|
||||
```bash
|
||||
# Setup ausführen (nur einmal)
|
||||
ansible-playbook -i ansible/inventory.ini ansible/setup.yml
|
||||
|
||||
# Projekt deployen (beliebig oft)
|
||||
ansible-playbook -i ansible/inventory.ini ansible/deploy.yml
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 🔐 Hinweis
|
||||
|
||||
- `.env` wird **nicht** automatisch übertragen
|
||||
- Serverpfade ggf. per `dest:` in `git:`-Modul anpassen
|
||||
|
||||
Reference in New Issue
Block a user