Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

docker-compose.yml 1.8KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. include:
  2. - ./docker-compose-base.yml
  3. services:
  4. ragflow:
  5. depends_on:
  6. mysql:
  7. condition: service_healthy
  8. image: ${RAGFLOW_IMAGE}
  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. - ../history_data_agent:/ragflow/history_data_agent
  20. env_file: .env
  21. environment:
  22. - TZ=${TIMEZONE}
  23. - HF_ENDPOINT=${HF_ENDPOINT}
  24. - MACOS=${MACOS}
  25. networks:
  26. - ragflow
  27. restart: on-failure
  28. # https://docs.docker.com/engine/daemon/prometheus/#create-a-prometheus-configuration
  29. # 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.
  30. extra_hosts:
  31. - "host.docker.internal:host-gateway"
  32. # executor:
  33. # depends_on:
  34. # mysql:
  35. # condition: service_healthy
  36. # image: ${RAGFLOW_IMAGE}
  37. # container_name: ragflow-executor
  38. # volumes:
  39. # - ./ragflow-logs:/ragflow/logs
  40. # - ./nginx/ragflow.conf:/etc/nginx/conf.d/ragflow.conf
  41. # env_file: .env
  42. # environment:
  43. # - TZ=${TIMEZONE}
  44. # - HF_ENDPOINT=${HF_ENDPOINT}
  45. # - MACOS=${MACOS}
  46. # entrypoint: "/ragflow/entrypoint_task_executor.sh 1 3"
  47. # networks:
  48. # - ragflow
  49. # restart: on-failure
  50. # # https://docs.docker.com/engine/daemon/prometheus/#create-a-prometheus-configuration
  51. # # 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.
  52. # extra_hosts:
  53. # - "host.docker.internal:host-gateway"