File size: 1,064 Bytes
a7d2416
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
version: '3.8'

services:
  allycat-graphrag-cloud:
    image: allycat-graphrag:cloud
    build:
      context: .
      dockerfile: Dockerfile
      args:
        INSTALL_OLLAMA: "false"
        INSTALL_LOCAL_VECTOR_DB: "false"
    container_name: allycat-cloud
    ports:
      - "${DOCKER_PORT:-8080}:${DOCKER_APP_PORT:-8080}"
    environment:
      - LLM_RUN_ENV=cloud
      - VECTOR_DB_TYPE=cloud_zilliz
      - APP_TYPE=${APP_TYPE:-flask_graph}
      - AUTO_RUN_PIPELINE=${AUTO_RUN_PIPELINE:-false}
      - DOCKER_APP_PORT=${DOCKER_APP_PORT:-8080}
      - FLASK_GRAPH_PORT=${FLASK_GRAPH_PORT:-8080}
      - FLASK_VECTOR_PORT=${FLASK_VECTOR_PORT:-8081}
      - CHAINLIT_GRAPH_PORT=${CHAINLIT_GRAPH_PORT:-8083}
      - CHAINLIT_VECTOR_PORT=${CHAINLIT_VECTOR_PORT:-8082}
    env_file:
      - .env
    command: ["deploy"]
    restart: unless-stopped
    healthcheck:
      test: ["CMD", "curl", "-f", "http://localhost:${DOCKER_APP_PORT:-8080}"]
      interval: 60s
      timeout: 60s
      retries: 1
      start_period: 1500s