From e126a20fff691201ee3d29d257f75e7d5894f6d1 Mon Sep 17 00:00:00 2001 From: Owen Date: Mon, 25 Aug 2025 14:42:54 -0700 Subject: [PATCH] Update integration api port docs and gerbil cli --- development/contributing.mdx | 7 +++---- self-host/advanced/config-file.mdx | 2 +- self-host/advanced/integration-api.mdx | 6 +++--- self-host/manual/docker-compose.mdx | 3 +-- 4 files changed, 8 insertions(+), 10 deletions(-) diff --git a/development/contributing.mdx b/development/contributing.mdx index 1ea39bb..d676141 100644 --- a/development/contributing.mdx +++ b/development/contributing.mdx @@ -139,10 +139,9 @@ The easiest way to resolve this is to run Gerbil and have it register in your de ```bash ./gerbil \ ---remoteConfig http://localhost:3001/api/v1/gerbil/get-config \ ---reportBandwidthTo http://localhost:3001/api/v1/gerbil/receive-bandwidth \ ---generateAndSaveKeyTo=/var/key \ ---reachableAt=http://localhost:3003 +--reachableAt=http://gerbil:3003 \ +--generateAndSaveKeyTo=/var/config/key \ +--remoteConfig=http://pangolin:3001/api/v1/ ``` diff --git a/self-host/advanced/config-file.mdx b/self-host/advanced/config-file.mdx index d0bdb87..b359937 100644 --- a/self-host/advanced/config-file.mdx +++ b/self-host/advanced/config-file.mdx @@ -133,7 +133,7 @@ This section contains the complete reference for all configuration options in `c The port for the integration API (optional). - **Example**: `3003` + **Example**: `3004` diff --git a/self-host/advanced/integration-api.mdx b/self-host/advanced/integration-api.mdx index 7780fc4..2a31291 100644 --- a/self-host/advanced/integration-api.mdx +++ b/self-host/advanced/integration-api.mdx @@ -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 diff --git a/self-host/manual/docker-compose.mdx b/self-host/manual/docker-compose.mdx index 06f56db..ecbd8bb 100644 --- a/self-host/manual/docker-compose.mdx +++ b/self-host/manual/docker-compose.mdx @@ -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: