mirror of
https://github.com/fosrl/docs.git
synced 2025-05-12 21:30:43 +01:00
update config
This commit is contained in:
parent
79516001b6
commit
ef451c0e8d
1 changed files with 8 additions and 1 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue