update config

This commit is contained in:
miloschwartz 2025-04-27 19:50:38 -04:00
parent 79516001b6
commit ef451c0e8d
No known key found for this signature in database

View file

@ -23,8 +23,10 @@ Pangolin is configured using a `config.yml` file. The file is expected to be mou
### `server` ### `server`
- `external_port`: int (optional)
- The port the integration API will listen on.
- `external_port`: int - `external_port`: int
- The port the external facing (public) API will listen on. - The port the front-end API will listen on.
- `internal_port`: int - `internal_port`: int
- The port the internal private facing (private) API will listen on. - The port the internal private facing (private) API will listen on.
- `next_port`: int - `next_port`: int
@ -73,6 +75,10 @@ Pangolin is configured using a `config.yml` file. The file is expected to be mou
- `resource_session_length_hours`: int (optional) - `resource_session_length_hours`: int (optional)
- The length of time in hours that a session for each resource will last after logging in. - The length of time in hours that a session for each resource will last after logging in.
- Default: `720` - Default: `720`
- `secret`: string
- A 32-byte base64 encoded string used to encrypt data in the database.
- Generate one with: `openssl rand -base64 32`
- Example: "N6KkZsm9WdK7ZXvVFEqyNgLw2iPeLX7hUpRy8WiWzVA="
### `domains` ### `domains`
@ -210,6 +216,7 @@ server:
id: "P-Access-Token-Id" id: "P-Access-Token-Id"
token: "P-Access-Token" token: "P-Access-Token"
resource_session_request_param: "p_session_request" resource_session_request_param: "p_session_request"
secret: "" # 32-byte base64 encoded string; generate with: openssl rand -base64 32
traefik: traefik:
cert_resolver: "letsencrypt" cert_resolver: "letsencrypt"