mirror of
https://github.com/CCC-MF/bwhc-kafka-rest-proxy.git
synced 2025-04-19 19:16:51 +00:00
feat: use ipv6 capable default listener address
This commit is contained in:
parent
7b36255e2d
commit
bbeba1f942
@ -26,7 +26,7 @@ Options:
|
|||||||
--token <TOKEN>
|
--token <TOKEN>
|
||||||
bcrypt hashed Security Token [env: APP_SECURITY_TOKEN=]
|
bcrypt hashed Security Token [env: APP_SECURITY_TOKEN=]
|
||||||
--listen <LISTEN>
|
--listen <LISTEN>
|
||||||
Address and port for HTTP requests [env: APP_LISTEN=] [default: 0.0.0.0:3000]
|
Address and port for HTTP requests [env: APP_LISTEN=] [default: [::]:3000]
|
||||||
```
|
```
|
||||||
|
|
||||||
Die Anwendung lässt sich auch mit Umgebungsvariablen konfigurieren.
|
Die Anwendung lässt sich auch mit Umgebungsvariablen konfigurieren.
|
||||||
@ -34,7 +34,7 @@ Die Anwendung lässt sich auch mit Umgebungsvariablen konfigurieren.
|
|||||||
* `APP_KAFKA_SERVERS`: Zu verwendende Kafka-Bootstrap-Server als kommagetrennte Liste
|
* `APP_KAFKA_SERVERS`: Zu verwendende Kafka-Bootstrap-Server als kommagetrennte Liste
|
||||||
* `APP_KAFKA_TOPIC`: Zu verwendendes Topic zum Warten auf neue Anfragen. Standardwert: `etl-processor_input`
|
* `APP_KAFKA_TOPIC`: Zu verwendendes Topic zum Warten auf neue Anfragen. Standardwert: `etl-processor_input`
|
||||||
* `APP_SECURITY_TOKEN`: Verpflichtende Angabe es Tokens als *bcrypt*-Hash
|
* `APP_SECURITY_TOKEN`: Verpflichtende Angabe es Tokens als *bcrypt*-Hash
|
||||||
* `APP_LISTEN`: Adresse und Port für eingehende HTTP-Requests. Standardwert: `0.0.0.0:3000` - Port `3000` auf allen Adressen
|
* `APP_LISTEN`: Adresse und Port für eingehende HTTP-Requests. Standardwert: `[::]:3000` - Port `3000` auf allen Adressen (IPv4 und IPv6)
|
||||||
|
|
||||||
## HTTP-Requests
|
## HTTP-Requests
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@ pub struct Cli {
|
|||||||
#[arg(
|
#[arg(
|
||||||
long,
|
long,
|
||||||
env = "APP_LISTEN",
|
env = "APP_LISTEN",
|
||||||
default_value = "0.0.0.0:3000",
|
default_value = "[::]:3000",
|
||||||
help = "Address and port for HTTP requests"
|
help = "Address and port for HTTP requests"
|
||||||
)]
|
)]
|
||||||
pub listen: String,
|
pub listen: String,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user