feat(docker): 🚀 Update server port to 8025
- Change default server port from 8080 to 8025 across all configurations. - Update Dockerfile, docker-compose.yml, and related documentation. - Ensure all CLI commands and API endpoints reflect the new port. - Adjust example configurations and health check URLs accordingly.
This commit is contained in:
@@ -56,11 +56,13 @@ Add the following to your `config.json`:
|
||||
### Published Events
|
||||
|
||||
Events are published to topics in the format:
|
||||
|
||||
```
|
||||
{topic_prefix}/{account_id}/{event_type}
|
||||
```
|
||||
|
||||
Examples:
|
||||
|
||||
- `whatshooked/my-account/message.received`
|
||||
- `whatshooked/my-account/whatsapp.connected`
|
||||
- `whatshooked/business-account/message.sent`
|
||||
@@ -68,6 +70,7 @@ Examples:
|
||||
### Sending Messages (Subscribe Mode)
|
||||
|
||||
When `subscribe: true` is enabled, you can send WhatsApp messages by publishing to:
|
||||
|
||||
```
|
||||
{topic_prefix}/{account_id}/send
|
||||
```
|
||||
@@ -145,6 +148,7 @@ When `subscribe: true` is enabled, you can send WhatsApp messages by publishing
|
||||
```
|
||||
|
||||
**Payload Fields:**
|
||||
|
||||
- `type`: Message type - "text", "image", "video", or "document" (default: "text")
|
||||
- `to`: Phone number in JID format (required)
|
||||
- `text`: Message text (required for text messages)
|
||||
@@ -161,6 +165,7 @@ When `subscribe: true` is enabled, you can send WhatsApp messages by publishing
|
||||
Available event types for filtering:
|
||||
|
||||
### WhatsApp Connection Events
|
||||
|
||||
- `whatsapp.connected`
|
||||
- `whatsapp.disconnected`
|
||||
- `whatsapp.pair.success`
|
||||
@@ -171,6 +176,7 @@ Available event types for filtering:
|
||||
- `whatsapp.pair.event`
|
||||
|
||||
### Message Events
|
||||
|
||||
- `message.received`
|
||||
- `message.sent`
|
||||
- `message.failed`
|
||||
@@ -178,6 +184,7 @@ Available event types for filtering:
|
||||
- `message.read`
|
||||
|
||||
### Hook Events
|
||||
|
||||
- `hook.triggered`
|
||||
- `hook.success`
|
||||
- `hook.failed`
|
||||
@@ -263,7 +270,7 @@ script:
|
||||
{
|
||||
"server": {
|
||||
"host": "0.0.0.0",
|
||||
"port": 8080
|
||||
"port": 8025
|
||||
},
|
||||
"whatsapp": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user