You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

docker-compose.yml 952B

12345678910111213141516171819202122232425262728293031
  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. 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"