Update integration api port docs and gerbil cli

This commit is contained in:
Owen
2025-08-25 14:42:54 -07:00
parent 155cae2efb
commit e126a20fff
4 changed files with 8 additions and 10 deletions

View File

@@ -139,10 +139,9 @@ The easiest way to resolve this is to run Gerbil and have it register in your de
```bash ```bash
./gerbil \ ./gerbil \
--remoteConfig http://localhost:3001/api/v1/gerbil/get-config \ --reachableAt=http://gerbil:3003 \
--reportBandwidthTo http://localhost:3001/api/v1/gerbil/receive-bandwidth \ --generateAndSaveKeyTo=/var/config/key \
--generateAndSaveKeyTo=/var/key \ --remoteConfig=http://pangolin:3001/api/v1/
--reachableAt=http://localhost:3003
``` ```
</Note> </Note>

View File

@@ -133,7 +133,7 @@ This section contains the complete reference for all configuration options in `c
<ResponseField name="integration_port" type="integer"> <ResponseField name="integration_port" type="integer">
The port for the integration API (optional). The port for the integration API (optional).
**Example**: `3003` **Example**: `3004`
</ResponseField> </ResponseField>
<ResponseField name="internal_hostname" type="string"> <ResponseField name="internal_hostname" type="string">

View File

@@ -14,11 +14,11 @@ flags:
enable_integration_api: true 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" ```yaml title="config.yml"
server: server:
integration_port: 3003 # Specify different port integration_port: 3004 # Specify different port
``` ```
## Configure Traefik Routing ## Configure Traefik Routing
@@ -53,7 +53,7 @@ http:
int-api-service: int-api-service:
loadBalancer: loadBalancer:
servers: servers:
- url: "http://pangolin:3003" - url: "http://pangolin:3004"
``` ```
## Access Documentation ## Access Documentation

View File

@@ -162,8 +162,7 @@ services:
command: command:
- --reachableAt=http://gerbil:3003 - --reachableAt=http://gerbil:3003
- --generateAndSaveKeyTo=/var/config/key - --generateAndSaveKeyTo=/var/config/key
- --remoteConfig=http://pangolin:3001/api/v1/gerbil/get-config - --remoteConfig=http://pangolin:3001/api/v1/
- --reportBandwidthTo=http://pangolin:3001/api/v1/gerbil/receive-bandwidth
volumes: volumes:
- ./config/:/var/config - ./config/:/var/config
cap_add: cap_add: