AI_Diplomacy/docker-compose.yaml
2025-06-05 07:29:43 +00:00

36 lines
814 B
YAML

services:
twitch-streamer:
build: twitch-streamer
env_file: ".env"
cap_add:
- SYS_ADMIN
environment:
- DISPLAY=:99
ports:
- "9222:9222"
ipc: host
shm_size: "2gb"
diplomacy:
build:
context: ai_animation
args:
- VITE_ELEVENLABS_API_KEY=${VITE_ELEVENLABS_API_KEY}
- VITE_WEBHOOK_URL=${VITE_WEBHOOK_URL}
- VITE_STREAMING_MODE=True
- VITE_DEBUG_MODE=False
- VITE_INSTANT_MODE=False
env_file: "./ai_animation/.env"
ports:
- "4173:4173"
- "5173:5173"
volumes:
- ./ai_animation/public/games/:/app/dist/games
diplomacy-dev:
build: ai_animation
ports:
- "4173:4173"
- "5173:5173"
command: ["npm", "run", "dev-all"]
volumes:
- "./ai_animation/:/app/"