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:
@@ -7,7 +7,7 @@ services:
|
||||
dockerfile: Dockerfile
|
||||
container_name: whatshooked-server
|
||||
ports:
|
||||
- "8080:8080"
|
||||
- "8025:8025"
|
||||
volumes:
|
||||
# Mount config file
|
||||
- ./bin/config.json:/app/config.json:ro
|
||||
@@ -15,14 +15,14 @@ services:
|
||||
# Mount sessions directory for WhatsApp authentication persistence
|
||||
- ./bin/sessions:/app/sessions
|
||||
|
||||
# Mount media directory for storing downloaded media files
|
||||
- ./bin/data/media:/app/data/media
|
||||
# Mount data directory for storing data files
|
||||
- ./bin/data/:/app/data/
|
||||
|
||||
restart: unless-stopped
|
||||
|
||||
# Health check
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:8080/health"]
|
||||
test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:8025/health"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
|
||||
Reference in New Issue
Block a user