Изменения:

-написан докер композ файл для поднятия контейнера ии-агентов
This commit is contained in:
2025-12-19 01:00:20 +03:00
parent 0885618b25
commit ed9f0904a9
5 changed files with 112 additions and 8 deletions

32
docker-compose.yml Normal file
View File

@@ -0,0 +1,32 @@
version: '3.8'
services:
ai-agents:
build:
context: .
dockerfile: Dockerfile
container_name: new-planet-ai-agents
environment:
- REDIS_URL=redis://redis:6379/0
- GIGACHAT_CLIENT_ID=${GIGACHAT_CLIENT_ID}
- GIGACHAT_CLIENT_SECRET=${GIGACHAT_CLIENT_SECRET}
- PYTHONUNBUFFERED=1
- PYTHONDONTWRITEBYTECODE=1
- PYTHONPATH=/app
volumes:
- ./agents:/app/agents
- ./models:/app/models
- ./services:/app/services
- ./prompts:/app/prompts
- ./scripts:/app/scripts
networks:
- new-planet-network
# По умолчанию запускается Python REPL для интерактивного использования
# Можно переопределить через docker-compose run или command
stdin_open: true
tty: true
networks:
new-planet-network:
external: true