version: '3.8'
services:
pyr:
build:
context: .
dockerfile: docker/Dockerfile
container_name: pyr
environment:
- R_VERBOSE=true
- R_PROVIDER=openai
- R_MODEL=gpt-4o-mini
- R_BASE_URL=https://api.openai.com
- R_KEY=${R_KEY}
- R_DB_PATH=/app/data/pyr.db
- R_CACHE_DIR=/app/data/cache
- R_LOG_LEVEL=info
volumes:
- ./data:/app/data
- ./examples:/app/examples
- ./.env:/app/.env
stdin_open: true
tty: true
restart: unless-stopped
networks:
- pyr-network
pyr-dev:
build:
context: .
dockerfile: docker/Dockerfile
container_name: pyr-dev
environment:
- R_VERBOSE=true
- R_PROVIDER=openai
- R_MODEL=gpt-4o-mini
- R_LOG_LEVEL=debug
volumes:
- .:/app
- pyr-cache:/app/data/cache
stdin_open: true
tty: true
command: /bin/bash
networks:
- pyr-network
volumes:
pyr-cache:
networks:
pyr-network:
driver: bridge