- Add automatic recording stop when user turns off camera/screenshare - Listen for startStreaming events to detect video_ssrc=0 (camera/screen off) - Add disconnect and connection close event handling - Implement proper cleanup of event listeners to prevent memory leaks - Add targetUserId tracking for accurate event filtering - Update both videoRecording.js and webcamRecording.js services - Update discord.js-selfbot-v13 submodule with latest webcam recording fixes
30 lines
906 B
YAML
30 lines
906 B
YAML
version: "3.8"
|
|
|
|
services:
|
|
teto_ai:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile.dev
|
|
container_name: teto_ai_dev
|
|
cap_add:
|
|
- SYS_ADMIN
|
|
environment:
|
|
# supply the user token at runtime:
|
|
USER_TOKEN: "${USER_TOKEN}"
|
|
BOT_CLIENT_ID: "${BOT_CLIENT_ID}"
|
|
BOT_CLIENT_SECRET: "${BOT_CLIENT_SECRET}"
|
|
BOT_REDIRECT_URI: "https://teto.getsilly.org/auth/callback"
|
|
volumes:
|
|
# live-peek folder so you can grab screenshots outside the container
|
|
- ./output:/tmp/output
|
|
# Mount the current directory into the container for live-reloading
|
|
- .:/opt/bot
|
|
# Use a named volume to keep the container's node_modules from being overwritten
|
|
# - node_modules:/opt/bot/node_modules
|
|
ports:
|
|
- "5901:5901" # VNC
|
|
- "3000:3000" # optional HTTP server if you add one
|
|
tmpfs:
|
|
- /tmp:size=512M
|
|
# volumes:
|
|
# node_modules:
|