Initial commit: a0_software_orchestrator v1.0
- Auto-Registration-Bug behoben (register_project/get_project_id/resolve_project Trennung) - 25 Tests gruen (Pytest) - block_compactor-Tool refactored (Option B: Soft-Check statt Hard-Block) - 4 Restbaustellen gefixt - DB-Schema: plugin_settings-Tabelle hinzugefuegt - 3 Schattenprojekte aus DB geloescht - Plan v3 + Refactor-Plan + Worklog dokumentiert
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
# 07_networks.md
|
||||
|
||||
# Networks
|
||||
|
||||
## Grundregel
|
||||
|
||||
```text
|
||||
localhost im Container = derselbe Container.
|
||||
Interne Services über Service-Namen ansprechen.
|
||||
```
|
||||
|
||||
Richtig:
|
||||
|
||||
```text
|
||||
postgres:5432
|
||||
redis:6379
|
||||
api:3000
|
||||
```
|
||||
|
||||
Falsch:
|
||||
|
||||
```text
|
||||
localhost:5432
|
||||
127.0.0.1:6379
|
||||
```
|
||||
|
||||
## Netzwerktypen
|
||||
|
||||
```text
|
||||
Coolify Default Network
|
||||
Compose Project Network
|
||||
External/Predefined Network
|
||||
Host Network
|
||||
Proxy Network
|
||||
```
|
||||
|
||||
## Host Network
|
||||
|
||||
Nur mit Begründung:
|
||||
|
||||
```text
|
||||
Discovery, Monitoring, Spezialprotokolle.
|
||||
```
|
||||
|
||||
Risiken: Isolation, Portkonflikte, Portabilität.
|
||||
|
||||
## Cross-Resource
|
||||
|
||||
Für Kommunikation zwischen Resources:
|
||||
|
||||
```text
|
||||
predefined/external network
|
||||
feste Service-Namen
|
||||
keine zufälligen container_name-Hacks
|
||||
```
|
||||
|
||||
Stop, wenn interne Kommunikation, Proxy-Reachability oder Host-Network-Bedarf unklar sind.
|
||||
Reference in New Issue
Block a user