Files

64 lines
902 B
Markdown
Raw Permalink Normal View History

# 12_patterns.md
# Deployment Patterns
## Static SPA
```text
Static Build, output dist/build/out, keine Ports, SPA fallback.
```
## Single Web
```text
Nixpacks/Railpack/Dockerfile, Domain auf App-Port, optional externe DB.
```
## App + DB
```text
web public, db internal, DB volume, DATABASE_URL.
```
## App + Redis
```text
redis internal, REDIS_URL, Redis-Rolle dokumentieren.
```
## App + Worker
```text
web public, worker internal/no domain, Queue, ggf. Shared Volume.
```
## Scheduler
```text
internal/no domain, gleiche Env, Duplikate vermeiden.
```
## Nginx + PHP-FPM
```text
nginx/apache public, php-fpm internal, storage persistent.
```
## Gateway Suite
```text
gateway public, auth/api/storage/realtime internal.
```
## TCP Service
```text
Host-Port möglich, Security prüfen.
```
## CI Image
```text
CI build/test/push, Coolify pull/deploy, rollback via tag/digest.
```