version: '3.8' services: api: build: . ports: - "8000:8000" environment: - GEMINI_API_KEY=${GEMINI_API_KEY} - REDIS_URL=redis://redis:6379/0 - LOG_LEVEL=INFO depends_on: - redis volumes: - .:/app restart: unless-stopped redis: image: redis:7-alpine ports: - "6379:6379" volumes: - redis_data:/data restart: unless-stopped prometheus: image: prom/prometheus ports: - "9090:9090" volumes: - ./infra/prometheus.yml:/etc/prometheus/prometheus.yml command: - '--config.file=/etc/prometheus/prometheus.yml' restart: unless-stopped volumes: redis_data: