Skip to content

Commit

Permalink
doc: update gcs-bucket.md (#411)
Browse files Browse the repository at this point in the history
* doc: update gcs-bucket.md

* Update supported-providers.md
  • Loading branch information
vishnu-narayanan committed May 26, 2023
1 parent 8fb078b commit a9ec727
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
4 changes: 3 additions & 1 deletion docs/self-hosted/deployment/storage/gcs-bucket.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ A sample credential file is of the following format.
}
```

When pasting the credentials to the ENV file, make sure to remove the new lines and paste it into a single line
When pasting the credentials to the ENV file, make sure to remove the new lines and paste it into a single line.
```
GCS_CREDENTIALS={"type": "service_account","project_id": "","private_key_id": "","private_key": "","client_email": "","client_id": "","auth_uri": "","token_uri": "","auth_provider_x509_cert_url": "","client_x509_cert_url": ""}
```

**Note**: If you are running Chatwoot v2.17+, make sure to wrap `GCS_CREDENTIALS` in single quotes.
9 changes: 8 additions & 1 deletion docs/self-hosted/deployment/storage/supported-providers.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ AWS_REGION=

### Using Google GCS

**Note**: Starting with version 2.17+, wrap the `GCS_CREDENTIALS` environment variable in single quotes.

Configure the following env variables.

```bash
Expand All @@ -29,7 +31,7 @@ GCS_CREDENTIALS=
GCS_BUCKET=
```

the value of the `GCS_CREDENTIALS` should be a json formatted string containing the following keys
The value of the `GCS_CREDENTIALS` should be a json formatted string containing the following keys.

```bash
{
Expand All @@ -45,6 +47,11 @@ the value of the `GCS_CREDENTIALS` should be a json formatted string containing
"client_x509_cert_url" : ""
}
```
When pasting the credentials to the ENV file, make sure to remove the new lines and paste it into a single line.

```
GCS_CREDENTIALS={"type": "service_account","project_id": "","private_key_id": "","private_key": "","client_email": "","client_id": "","auth_uri": "","token_uri": "","auth_provider_x509_cert_url": "","client_x509_cert_url": ""}
```

### Using Microsoft Azure

Expand Down

0 comments on commit a9ec727

Please sign in to comment.