PyscoutAI / docker-compose.override.yml.example
PyScoutAI's picture
Upload 15 files
ead2510 verified
# Example override file for docker-compose.yml
# Copy this file to docker-compose.override.yml and edit as needed
version: '3.8'
services:
# MongoDB service customization
mongodb:
# Example: Expose MongoDB port locally for debugging
ports:
- "27017:27017"
# Example: Add authentication
environment:
MONGO_INITDB_ROOT_USERNAME: your_custom_username
MONGO_INITDB_ROOT_PASSWORD: your_custom_password
# Example: Persistent volume on host
volumes:
- ./mongodb_data:/data/db
# PyScout API service customization
pyscout-api:
# Example: Use a different port
ports:
- "8080:8000"
# Example: Add debugging
environment:
- DEBUG=True
- LOG_LEVEL=DEBUG
- MONGODB_URI=mongodb://your_custom_username:your_custom_password@mongodb:27017/pyscout_ai?authSource=admin
# Gradio UI service customization
gradio-ui:
# Example: Use a different port
ports:
- "7000:7860"
# Example: Enable share link
environment:
- GRADIO_SHARE=true
- API_BASE_URL=http://pyscout-api:8000