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.yml 1.0KB

12345678910111213141516171819202122232425262728293031323334
  1. include:
  2. - ./docker-compose-base.yml
  3. services:
  4. ragflow:
  5. depends_on:
  6. mysql:
  7. condition: service_healthy
  8. es01:
  9. condition: service_healthy
  10. image: ${RAGFLOW_IMAGE}
  11. container_name: ragflow-server
  12. ports:
  13. - ${SVR_HTTP_PORT}:9380
  14. - 80:80
  15. - 443:443
  16. volumes:
  17. - ./service_conf.yaml:/ragflow/conf/service_conf.yaml
  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}
  27. networks:
  28. - ragflow
  29. restart: on-failure
  30. # https://docs.docker.com/engine/daemon/prometheus/#create-a-prometheus-configuration
  31. # 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.
  32. extra_hosts:
  33. - "host.docker.internal:host-gateway"