feat: Add presence heartbeat for Matrix online status
- matrix-gateway: POST /internal/matrix/presence/online endpoint - usePresenceHeartbeat hook with activity tracking - Auto away after 5 min inactivity - Offline on page close/visibility change - Integrated in MatrixChatRoom component
This commit is contained in:
20
services/web-search-service/docker-compose.yml
Normal file
20
services/web-search-service/docker-compose.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
web-search-service:
|
||||
build: .
|
||||
container_name: dagi-web-search-service
|
||||
ports:
|
||||
- "8897:8897"
|
||||
environment:
|
||||
- SEARCH_ENGINE=duckduckgo
|
||||
- MAX_RESULTS=10
|
||||
volumes:
|
||||
- ./app:/app/app
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:8897/health"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
|
||||
Reference in New Issue
Block a user