Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

Commit

Permalink
add REDIS_URI in readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mgilangjanuar committed Jan 10, 2022
1 parent df544c2 commit b5ea171
Showing 1 changed file with 19 additions and 18 deletions.
37 changes: 19 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,24 +31,25 @@ This is the open source project of Google Drive/OneDrive/iCloud/Dropbox alternat

- Server variables

| env | required | description |
| ---------------------- | -------- | -------------------------------------- |
| RPS | no | Rate limit API per second, default: 20 |
| TG_API_ID | yes | Application ID from your Telegram App |
| TG_API_HASH | yes | Application hash from Telegram App |
| TG_BOT_TOKEN | yes | Telegram bot token |
| TG_BOT_OWNER_ID | yes | Chat ID for sending messages to you |
| DB_HOST | no | Database host URI, default: localhost |
| DB_NAME | yes | Database name |
| DB_PORT | no | Database port, default: 5432 |
| DB_USERNAME | yes | Database username |
| DB_PASSWORD | yes | Database password |
| GITHUB_TOKEN | yes | GitHub token for getting contributors |
| API_JWT_SECRET | yes | Random string for hashing auth token |
| FILES_JWT_SECRET | yes | Random string for encrypt public files |
| PAYPAL_CLIENT_ID | yes | Client ID for PayPal subscription |
| PAYPAL_CLIENT_SECRET | yes | Client secret for PayPal subscription |
| PAYPAL_PLAN_PREMIUM_ID | yes | Product ID for premium plan |
| env | required | description |
| ---------------------- | -------- | ------------------------------------------- |
| RPS | no | Rate limit API per second, default: 20 |
| TG_API_ID | yes | Application ID from your Telegram App |
| TG_API_HASH | yes | Application hash from Telegram App |
| TG_BOT_TOKEN | yes | Telegram bot token |
| TG_BOT_OWNER_ID | yes | Chat ID for sending messages to you |
| DB_HOST | no | Database host URI, default: localhost |
| DB_NAME | yes | Database name |
| DB_PORT | no | Database port, default: 5432 |
| DB_USERNAME | yes | Database username |
| DB_PASSWORD | yes | Database password |
| GITHUB_TOKEN | yes | GitHub token for getting contributors |
| API_JWT_SECRET | yes | Random string for hashing auth token |
| FILES_JWT_SECRET | yes | Random string for encrypt public files |
| PAYPAL_CLIENT_ID | yes | Client ID for PayPal subscription |
| PAYPAL_CLIENT_SECRET | yes | Client secret for PayPal subscription |
| PAYPAL_PLAN_PREMIUM_ID | yes | Product ID for premium plan |
| REDIS_URI | yes | Cache some responses from external services |

- Web variables

Expand Down

0 comments on commit b5ea171

Please sign in to comment.