File size: 1,124 Bytes
ead2510
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# 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