1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- include:
- - path: ./docker-compose-base-with-llm.yml
- env_file: ./.env
- services:
- llm-app:
- depends_on:
- mysql:
- condition: service_healthy
- es01:
- condition: service_healthy
- image: 192.168.107.2:5000/yusyscloud/llm-app:0826-0830-55
- container_name: llm-app
- ports:
- - ${SVR_HTTP_PORT}:80
- volumes:
- - ./config/application.yaml:/application.yml
- healthcheck:
- test: ["CMD", "curl", "-f", "http://localhost:80"]
- interval: 30s
- timeout: 10s
- retries: 3
- start_period: 30s
- environment:
- - TZ=${TIMEZONE}
- networks:
- - yusys-rag
- restart: always
- llm-rag:
- depends_on:
- llm-app:
- condition: service_healthy
- container_name: yusys-rag-base
- image: 192.168.107.2:5000/yusyscloud/llm-rag:splitload-keyword-retrieve-35
- ports:
- - 8001:8001
- environment:
- - llm_app_url=http://llm-app:80
- - TZ=${TIMEZONE}
- healthcheck:
- test: ["CMD-SHELL", "curl http://localhost:8001/health"]
- interval: 10s
- timeout: 10s
- retries: 120
- networks:
- - yusys-rag
- restart: always
-
|