Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

docker-compose.yml 2.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. include:
  2. - ./docker-compose-base.yml
  3. # To ensure that the container processes the locally modified `service_conf.yaml.template` instead of the one included in its image, you need to mount the local `service_conf.yaml.template` to the container.
  4. services:
  5. ragflow:
  6. depends_on:
  7. mysql:
  8. condition: service_healthy
  9. image: ${RAGFLOW_IMAGE}
  10. container_name: ragflow-server
  11. ports:
  12. - ${SVR_HTTP_PORT}:9380
  13. - 80:80
  14. - 443:443
  15. - 5678:5678
  16. - 5679:5679
  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. - ../history_data_agent:/ragflow/history_data_agent
  23. - ./service_conf.yaml.template:/ragflow/conf/service_conf.yaml.template
  24. env_file: .env
  25. environment:
  26. - TZ=${TIMEZONE}
  27. - HF_ENDPOINT=${HF_ENDPOINT}
  28. - MACOS=${MACOS}
  29. networks:
  30. - ragflow
  31. restart: on-failure
  32. # https://docs.docker.com/engine/daemon/prometheus/#create-a-prometheus-configuration
  33. # 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.
  34. extra_hosts:
  35. - "host.docker.internal:host-gateway"
  36. # executor:
  37. # depends_on:
  38. # mysql:
  39. # condition: service_healthy
  40. # image: ${RAGFLOW_IMAGE}
  41. # container_name: ragflow-executor
  42. # volumes:
  43. # - ./ragflow-logs:/ragflow/logs
  44. # - ./nginx/ragflow.conf:/etc/nginx/conf.d/ragflow.conf
  45. # env_file: .env
  46. # environment:
  47. # - TZ=${TIMEZONE}
  48. # - HF_ENDPOINT=${HF_ENDPOINT}
  49. # - MACOS=${MACOS}
  50. # entrypoint: "/ragflow/entrypoint_task_executor.sh 1 3"
  51. # networks:
  52. # - ragflow
  53. # restart: on-failure
  54. # # https://docs.docker.com/engine/daemon/prometheus/#create-a-prometheus-configuration
  55. # # 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.
  56. # extra_hosts:
  57. # - "host.docker.internal:host-gateway"