AI_Diplomacy/docker-compose.yaml
Tyler Marques 71fb6f9f1a
WIP: Docker for easier standing up of consituent parts, some work on fixing the LLM client
Signed-off-by: Tyler Marques <me@tylermarques.com>
2025-07-29 16:00:42 -07:00

50 lines
1 KiB
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"
volumes:
- ./ai_animation/public/games/:/app/dist/games
diplomacy-dev:
build: ai_animation
ports:
- "5173:5173"
command: ["npm", "run", "dev-all"]
volumes:
- "./ai_animation/:/app/"
old-diplomacy-fe:
build:
context: diplomacy
dockerfile: Dockerfile.frontend
ports:
- "3000:3000"
old-diplomacy-be:
build:
context: diplomacy
dockerfile: Dockerfile.backend
ports:
- "8432:8432"
volumes:
- "./data/:/app/data"