Free, Open Source, Self-Hosted WhatsApp API Gateway
TypeScript apibotgatewayself-hostedwhatsappwhatsapp-apiwhatsapp-automationwhatsapp-botwhatsapp-gatewaywhatsapp-gateway-apiwhatsapp-webwhatsapp-web-api
docs(api): show the full default browser flags in infra config
Yudhi Armyndharisce606c44f0cc
diff --git a/docs/06-api-specification.md b/docs/06-api-specification.mdindex fe94de48d..44d97d79f 100644--- a/docs/06-api-specification.md+++ b/docs/06-api-specification.md@@ -5504,7 +5504,7 @@ Read the effective infrastructure config used to hydrate the dashboard form. Eac"type": "whatsapp-web.js","headless": true,"sessionDataPath": "./data/sessions",- "browserArgs": "--no-sandbox --disable-gpu"+ "browserArgs": "--no-sandbox --disable-setuid-sandbox --disable-dev-shm-usage --disable-gpu"}}```@@ -5523,30 +5523,30 @@ Merge-save infrastructure config to `data/.env.generated` (a `0600` secret file)**Request body** — `SaveConfigDto` (recursively class-validated; unknown or mistyped fields are rejected)-| Field | Type | Required | Constraints | Description |-| ----------------------------------------------------- | ------------------------ | ------------------------ | ----------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- |-| `database` | object | No | — | DB section (see nested) |-| `database.type` | `'sqlite' \| 'postgres'` | If `database` is present | enum | `sqlite` drops stale postgres keys; `postgres` writes connection keys |-| `database.builtIn` | boolean | No | — | When `true`+postgres, forces the bundled `postgres` container creds + pushes `postgres` Docker profile |-| `database.host` / `.port` / `.username` / `.database` | string | No | `port` is a string | External postgres connection (defaults `localhost`/`5432`/`postgres`/`openwa`) |-| `database.schema` | string | No | lower-case, no `pg_` prefix (else 400) | Postgres schema, saved as `POSTGRES_SCHEMA`; an empty value writes `public` (also forced to `public` when switching to the built-in DB) |-| `database.password` | string | No | secret | Empty/omitted keeps the existing stored secret |-| `database.poolSize` | number | No | — | Default 10 |-| `database.sslEnabled` | boolean | No | — | Default false |-| `database.sslRejectUnauthorized` | boolean | No | — | Only written when `sslEnabled` is true; default true |-| `redis.enabled` / `.builtIn` | boolean | No | — | `builtIn`+enabled forces `redis` container + profile |-| `redis.host` / `.port` | string | No | `port` is a string | Defaults `localhost`/`6379` |-| `redis.password` | string | No | secret | Empty keeps existing |-| `queue.enabled` | boolean | No | — | Writes `QUEUE_ENABLED` |-| `storage.type` | `'local' \| 's3'` | If `storage` is present | enum | `local` drops stale S3 keys; `s3` drops `STORAGE_LOCAL_PATH` |-| `storage.builtIn` | boolean | No | — | `true`+s3 uses bundled MinIO defaults + pushes `minio` profile |-| `storage.localPath` | string | No | — | Default `./data/media` |-| `storage.s3Bucket` / `.s3Region` / `.s3Endpoint` | string | No | — | External S3 |-| `storage.s3AccessKey` / `.s3SecretKey` | string | No | secret | Empty keeps existing |-| `engine.type` | string | No | **must be a known engine id, else `400`** | Saved as `ENGINE_TYPE` |-| `engine.headless` | boolean | No | — | Default true; saved as `PUPPETEER_HEADLESS` |-| `engine.sessionDataPath` | string | No | — | Default `./data/sessions` |-| `engine.browserArgs` | string | No | — | Saved as `PUPPETEER_ARGS` |+| Field | Type | Required | Constraints | Description |+| ----------------------------------------------------- | ------------------------ | ------------------------ | ----------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |+| `database` | object | No | — | DB section (see nested) |+| `database.type` | `'sqlite' \| 'postgres'` | If `database` is present | enum | `sqlite` drops stale postgres keys; `postgres` writes connection keys |+| `database.builtIn` | boolean | No | — | When `true`+postgres, forces the bundled `postgres` container creds + pushes `postgres` Docker profile |+| `database.host` / `.port` / `.username` / `.database` | string | No | `port` is a string | External postgres connection (defaults `localhost`/`5432`/`postgres`/`openwa`) |+| `database.schema` | string | No | lower-case, no `pg_` prefix (else 400) | Postgres schema, saved as `POSTGRES_SCHEMA`; an empty value writes `public` (also forced to `public` when switching to the built-in DB) |+| `database.password` | string | No | secret | Empty/omitted keeps the existing stored secret |+| `database.poolSize` | number | No | — | Default 10 |+| `database.sslEnabled` | boolean | No | — | Default false |+| `database.sslRejectUnauthorized` | boolean | No | — | Only written when `sslEnabled` is true; default true |+| `redis.enabled` / `.builtIn` | boolean | No | — | `builtIn`+enabled forces `redis` container + profile |+| `redis.host` / `.port` | string | No | `port` is a string | Defaults `localhost`/`6379` |+| `redis.password` | string | No | secret | Empty keeps existing |+| `queue.enabled` | boolean | No | — | Writes `QUEUE_ENABLED` |+| `storage.type` | `'local' \| 's3'` | If `storage` is present | enum | `local` drops stale S3 keys; `s3` drops `STORAGE_LOCAL_PATH` |+| `storage.builtIn` | boolean | No | — | `true`+s3 uses bundled MinIO defaults + pushes `minio` profile |+| `storage.localPath` | string | No | — | Default `./data/media` |+| `storage.s3Bucket` / `.s3Region` / `.s3Endpoint` | string | No | — | External S3 |+| `storage.s3AccessKey` / `.s3SecretKey` | string | No | secret | Empty keeps existing |+| `engine.type` | string | No | **must be a known engine id, else `400`** | Saved as `ENGINE_TYPE` |+| `engine.headless` | boolean | No | — | Default true; saved as `PUPPETEER_HEADLESS` |+| `engine.sessionDataPath` | string | No | — | Default `./data/sessions` |+| `engine.browserArgs` | string | No | — | Saved as `PUPPETEER_ARGS`. Empty saves the default `--no-sandbox --disable-setuid-sandbox --disable-dev-shm-usage --disable-gpu`; a non-empty value replaces that list in full |```json{@@ -5577,7 +5577,7 @@ Merge-save infrastructure config to `data/.env.generated` (a `0600` secret file)"type": "whatsapp-web.js","headless": true,"sessionDataPath": "./data/sessions",- "browserArgs": "--no-sandbox --disable-gpu"+ "browserArgs": "--no-sandbox --disable-setuid-sandbox --disable-dev-shm-usage --disable-gpu"}}```