Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

docker-compose-macos.yml 1.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. include:
  2. - ./docker-compose-base.yml
  3. services:
  4. ragflow:
  5. platform: linux/amd64
  6. depends_on:
  7. mysql:
  8. condition: service_healthy
  9. build:
  10. context: ../
  11. dockerfile: Dockerfile
  12. container_name: ragflow-server
  13. ports:
  14. - ${SVR_HTTP_PORT}:9380
  15. - 80:80
  16. - 443:443
  17. volumes:
  18. - ./ragflow-logs:/ragflow/logs
  19. - ./nginx/ragflow.conf:/etc/nginx/conf.d/ragflow.conf
  20. - ./nginx/proxy.conf:/etc/nginx/proxy.conf
  21. - ./nginx/nginx.conf:/etc/nginx/nginx.conf
  22. env_file: .env
  23. environment:
  24. - TZ=${TIMEZONE}
  25. - HF_ENDPOINT=${HF_ENDPOINT}
  26. - MACOS=${MACOS:-1}
  27. - LIGHTEN=${LIGHTEN:-1}
  28. networks:
  29. - ragflow
  30. restart: on-failure
  31. # https://docs.docker.com/engine/daemon/prometheus/#create-a-prometheus-configuration
  32. # 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.
  33. extra_hosts:
  34. - "host.docker.internal:host-gateway"
  35. # executor:
  36. # depends_on:
  37. # mysql:
  38. # condition: service_healthy
  39. # image: ${RAGFLOW_IMAGE}
  40. # container_name: ragflow-executor
  41. # volumes:
  42. # - ./ragflow-logs:/ragflow/logs
  43. # - ./nginx/ragflow.conf:/etc/nginx/conf.d/ragflow.conf
  44. # env_file: .env
  45. # environment:
  46. # - TZ=${TIMEZONE}
  47. # - HF_ENDPOINT=${HF_ENDPOINT}
  48. # - MACOS=${MACOS}
  49. # entrypoint: "/ragflow/entrypoint_task_executor.sh 1 3"
  50. # networks:
  51. # - ragflow
  52. # restart: on-failure
  53. # # https://docs.docker.com/engine/daemon/prometheus/#create-a-prometheus-configuration
  54. # # 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.
  55. # extra_hosts:
  56. # - "host.docker.internal:host-gateway"