services:
  langchain-chatchat:
    container_name: ${CONTAINER_NAME}
    restart: always
    networks:
      - 1panel-network
    ports:
      - "${PANEL_APP_PORT_HTTP}:8501"
    deploy:
      resources:
        reservations:
          devices:
            - driver: ${GPU_DRIVER_TYPE}
              count: all
              capabilities: [gpu]
    image: ccr.ccs.tencentyun.com/langchain-chatchat/chatchat:0.3.1.3-f9e3895-20241014
    labels:  
      createdBy: "Apps"

networks:  
  1panel-network:  
    external: true
