| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- services:
- # Serveur LLM local
- ollama:
- image: ollama/ollama
- container_name: konan-ollama
- volumes:
- - ollama_data:/root/.ollama
- ports:
- - "11434:11434"
- restart: unless-stopped
- # Decommenter si GPU Nvidia disponible :
- # deploy:
- # resources:
- # reservations:
- # devices:
- # - driver: nvidia
- # count: all
- # capabilities: [gpu]
- # Bot Konan
- konan-bot:
- build: .
- container_name: konan-bot
- depends_on:
- - ollama
- env_file:
- - .env
- environment:
- - OLLAMA_URL=http://ollama:11434/api/chat
- - OLLAMA_GENERATE_URL=http://ollama:11434/api/generate
- volumes:
- - ./memory:/app/memory
- - ./voices:/app/voices
- - ./repos:/app/repos
- - ./reminders.json:/app/reminders.json
- - ./briefing_config.json:/app/briefing_config.json
- - ./google_credentials.json:/app/google_credentials.json
- - ./google_token.json:/app/google_token.json
- ports:
- - "8765:8765" # API HTTP pour le client vocal PC
- restart: unless-stopped
- volumes:
- ollama_data:
|