Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

docker-compose-gpu-CN-oc9.yml 1.1KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. include:
  2. - ./docker-compose-base.yml
  3. services:
  4. ragflow:
  5. depends_on:
  6. mysql:
  7. condition: service_healthy
  8. image: edwardelric233/ragflow:oc9
  9. container_name: ragflow-server
  10. ports:
  11. - ${SVR_HTTP_PORT}:9380
  12. - 80:80
  13. - 443:443
  14. volumes:
  15. - ./ragflow-logs:/ragflow/logs
  16. - ./nginx/ragflow.conf:/etc/nginx/conf.d/ragflow.conf
  17. - ./nginx/proxy.conf:/etc/nginx/proxy.conf
  18. - ./nginx/nginx.conf:/etc/nginx/nginx.conf
  19. env_file: .env
  20. environment:
  21. - TZ=${TIMEZONE}
  22. - HF_ENDPOINT=${HF_ENDPOINT}
  23. - MACOS=${MACOS}
  24. networks:
  25. - ragflow
  26. restart: on-failure
  27. # https://docs.docker.com/engine/daemon/prometheus/#create-a-prometheus-configuration
  28. # If you're using Docker Desktop, the --add-host flag is optional. This flag makes sure that the host's internal IP gets exposed to the Prometheus container.
  29. extra_hosts:
  30. - "host.docker.internal:host-gateway"
  31. deploy:
  32. resources:
  33. reservations:
  34. devices:
  35. - driver: nvidia
  36. count: all
  37. capabilities: [gpu]