mirror of
https://github.com/fosrl/docs-v2.git
synced 2026-02-16 01:46:45 +00:00
Update integration api port docs and gerbil cli
This commit is contained in:
@@ -133,7 +133,7 @@ This section contains the complete reference for all configuration options in `c
|
||||
<ResponseField name="integration_port" type="integer">
|
||||
The port for the integration API (optional).
|
||||
|
||||
**Example**: `3003`
|
||||
**Example**: `3004`
|
||||
</ResponseField>
|
||||
|
||||
<ResponseField name="internal_hostname" type="string">
|
||||
|
||||
@@ -14,11 +14,11 @@ flags:
|
||||
enable_integration_api: true
|
||||
```
|
||||
|
||||
If you want to specify a port other than the default `3003`, you can do so in the config as well:
|
||||
If you want to specify a port other than the default `3004`, you can do so in the config as well:
|
||||
|
||||
```yaml title="config.yml"
|
||||
server:
|
||||
integration_port: 3003 # Specify different port
|
||||
integration_port: 3004 # Specify different port
|
||||
```
|
||||
|
||||
## Configure Traefik Routing
|
||||
@@ -53,7 +53,7 @@ http:
|
||||
int-api-service:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- url: "http://pangolin:3003"
|
||||
- url: "http://pangolin:3004"
|
||||
```
|
||||
|
||||
## Access Documentation
|
||||
|
||||
@@ -162,8 +162,7 @@ services:
|
||||
command:
|
||||
- --reachableAt=http://gerbil:3003
|
||||
- --generateAndSaveKeyTo=/var/config/key
|
||||
- --remoteConfig=http://pangolin:3001/api/v1/gerbil/get-config
|
||||
- --reportBandwidthTo=http://pangolin:3001/api/v1/gerbil/receive-bandwidth
|
||||
- --remoteConfig=http://pangolin:3001/api/v1/
|
||||
volumes:
|
||||
- ./config/:/var/config
|
||||
cap_add:
|
||||
|
||||
Reference in New Issue
Block a user