File size: 838 Bytes
4962437
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
version: '3.8'

services:
  swarms:
    build: .
    ports:
      - "${SWARMS_PORT}:${SWARMS_PORT}"
    environment:
      SWARMS_PORT: 8000
      MODEL_NAME: gpt-4
      CELERY_BROKER_URL: redis://redis:6379
      SERVER: http://localhost:${SWARMS_PORT}
      USE_GPU: False
      PLAYGROUND_DIR: playground
      LOG_LEVEL: INFO
      BOT_NAME: Orca
      # You will need to set these environment variables to your actual keys in production
      OPENAI_API_KEY: your_openai_api_key
      WINEDB_HOST: your_winedb_host
      WINEDB_PASSWORD: your_winedb_password
      BING_SEARCH_URL: your_bing_search_url
      BING_SUBSCRIPTION_KEY: your_bing_subscription_key
      SERPAPI_API_KEY: your_serpapi_api_key
    depends_on:
      - redis
    volumes:
      - .:/usr/src/app

  redis:
    image: redis:alpine
    ports:
      - 6379:6379