docs
This commit is contained in:
@@ -51,6 +51,23 @@ docker run --rm -p 8001:8001 \
|
||||
api:dev
|
||||
```
|
||||
|
||||
**Mit Docker Network (empfohlen für Linux):**
|
||||
```bash
|
||||
docker network create home-automation
|
||||
docker run --rm -p 8001:8001 \
|
||||
--network home-automation \
|
||||
--name api \
|
||||
-v $(pwd)/config:/app/config:ro \
|
||||
-e MQTT_BROKER=172.16.2.16 \
|
||||
-e REDIS_HOST=172.23.1.116 \
|
||||
-e REDIS_DB=8 \
|
||||
api:dev
|
||||
```
|
||||
|
||||
**Hinweise:**
|
||||
- **Linux**: Port wird auf `0.0.0.0:8001` gebunden (von überall erreichbar)
|
||||
- **macOS/finch**: Port wird auf `127.0.0.1:8001` gebunden (nur localhost)
|
||||
|
||||
#### Environment Variables
|
||||
|
||||
| Variable | Default | Description |
|
||||
|
||||
Reference in New Issue
Block a user