Skip to content

Commit

Permalink
feat: add Pastebin API key configuration to .env-example
Browse files Browse the repository at this point in the history
  • Loading branch information
Kremilly committed Dec 12, 2024
1 parent a92df9b commit e746a5f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .env-example
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@ DS_TRANSFER_HOST=""
DS_TRANSFER_PORT=""
DS_TRANSFER_USER=""
DS_TRANSFER_PASSWORD=""
DS_TRANSFER_DB_NAME=""
DS_TRANSFER_DB_NAME=""

PASTEBIN_API_KEY=""
3 changes: 3 additions & 0 deletions docs/connection.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ DS_DB_NAME="YOUR_DATABASE"
DS_DUMP_INTERVAL="3600" # Interval for the dump process in seconds
DS_DUMP_PATH="/path/to/" # Path where dumps will be saved
PASTEBIN_API_KEY="" # Your Pastebin API key
```

### Configuration Details
Expand All @@ -44,5 +46,6 @@ DS_DUMP_PATH="/path/to/" # Path where dumps will be saved
- **DS_TRANSFER_USER**: Your transfer database username.
- **DS_TRANSFER_PASSWORD**: The password associated with the transfer database user.
- **DS_TRANSFER_DB_NAME**: The name of the transfer database you want to connect to.
- **PASTEBIN_API_KEY**: Your Pastebin API key.

You can choose to use either the `DB_` prefixed variables or the `DS_` prefixed variables for your configuration. Make sure to adjust the values accordingly to fit your environment.

0 comments on commit e746a5f

Please sign in to comment.