update badger config and fix smtp config variable names

This commit is contained in:
Milo Schwartz 2025-01-13 23:21:14 -05:00
parent 3f5cbbfd41
commit 8cb7b3ceea
No known key found for this signature in database
3 changed files with 5 additions and 7 deletions

View file

@ -62,9 +62,6 @@ services:
image: fosrl/pangolin:latest image: fosrl/pangolin:latest
container_name: pangolin container_name: pangolin
restart: unless-stopped restart: unless-stopped
ports:
- 3001:3001
- 3000:3000
volumes: volumes:
- ./config:/app/config - ./config:/app/config
healthcheck: healthcheck:

View file

@ -92,9 +92,9 @@ Pangolin is configured using a `config.yml` file. The file is expected to be mou
- The SMTP host for sending emails. - The SMTP host for sending emails.
- `smtp_port`: int - `smtp_port`: int
- The SMTP port for sending emails. - The SMTP port for sending emails.
- `smtp_username`: string - `smtp_user`: string
- The SMTP username for sending emails. - The SMTP username for sending emails.
- `smtp_password`: string - `smtp_pass`: string
- The SMTP password for sending emails. - The SMTP password for sending emails.
- `no_reply`: string - `no_reply`: string
- Example: `no-reply@example.com` - Example: `no-reply@example.com`
@ -116,7 +116,7 @@ Pangolin is configured using a `config.yml` file. The file is expected to be mou
- At least one digit - At least one digit
- At least one special character - At least one special character
### `flags` ### `flags` (optional)
- `require_email_verification`: boolean - `require_email_verification`: boolean
- Whether to require email verification for new users. If set to `true`, new users will need to verify their email address before they can log in. - Whether to require email verification for new users. If set to `true`, new users will need to verify their email address before they can log in.

View file

@ -18,4 +18,5 @@ Badger requires the following configuration parameters to be specified in your [
apiBaseUrl: "http://localhost:3001/api/v1" apiBaseUrl: "http://localhost:3001/api/v1"
userSessionCookieName: "session" userSessionCookieName: "session"
resourceSessionCookieName: "resource_session" resourceSessionCookieName: "resource_session"
``` accessTokenQueryParam: "p_token"
```