You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

docker-compose-gpu-CN-oc9.yml 925B

12345678910111213141516171819202122232425262728293031323334353637
  1. include:
  2. - path: ./docker-compose-base.yml
  3. env_file: ./.env
  4. services:
  5. ragflow:
  6. depends_on:
  7. mysql:
  8. condition: service_healthy
  9. es01:
  10. condition: service_healthy
  11. image: edwardelric233/ragflow:oc9
  12. container_name: ragflow-server
  13. ports:
  14. - ${SVR_HTTP_PORT}:9380
  15. - 80:80
  16. - 443:443
  17. volumes:
  18. - ./service_conf.yaml:/ragflow/conf/service_conf.yaml
  19. - ./ragflow-logs:/ragflow/logs
  20. - ./nginx/ragflow.conf:/etc/nginx/conf.d/ragflow.conf
  21. - ./nginx/proxy.conf:/etc/nginx/proxy.conf
  22. - ./nginx/nginx.conf:/etc/nginx/nginx.conf
  23. environment:
  24. - TZ=${TIMEZONE}
  25. - HF_ENDPOINT=https://hf-mirror.com
  26. - MACOS=${MACOS}
  27. networks:
  28. - ragflow
  29. restart: always
  30. deploy:
  31. resources:
  32. reservations:
  33. devices:
  34. - driver: nvidia
  35. count: all
  36. capabilities: [gpu]