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.

README.md 2.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. # Docker Environment Variable
  2. Look into [.env](./.env), there're some important variables.
  3. ## MYSQL_PASSWORD
  4. The mysql password could be changed by this variable. But you need to change *mysql.password* in [service_conf.yaml](./service_conf.yaml) at the same time.
  5. ## MYSQL_PORT
  6. It refers to exported port number of mysql docker container, it's useful if you want to access the database outside the docker containers.
  7. ## MINIO_USER
  8. It refers to user name of [Mino](https://github.com/minio/minio). The modification should be synchronous updating at minio.user of [service_conf.yaml](./service_conf.yaml).
  9. ## MINIO_PASSWORD
  10. It refers to user password of [Mino](https://github.com/minio/minio). The modification should be synchronous updating at minio.password of [service_conf.yaml](./service_conf.yaml).
  11. ## SVR_HTTP_PORT
  12. It refers to The API server serving port.
  13. # Service Configuration
  14. [service_conf.yaml](./service_conf.yaml) is used by the *API server* and *task executor*. It's the most important configuration of the system.
  15. ## ragflow
  16. ### host
  17. The IP address used by the API server.
  18. ### port
  19. The serving port of API server.
  20. ## mysql
  21. ### name
  22. The database name in mysql used by this system.
  23. ### user
  24. The database user name.
  25. ### password
  26. The database password. The modification should be synchronous updating at *MYSQL_PASSWORD* in [.env](./.env).
  27. ### port
  28. The serving port of mysql inside the container. The modification should be synchronous updating at [docker-compose.yml](./docker-compose.yml)
  29. ### max_connections
  30. The max database connection.
  31. ### stale_timeout
  32. The timeout duration in seconds.
  33. ## minio
  34. ### user
  35. The username of minio. The modification should be synchronous updating at *MINIO_USER* in [.env](./.env).
  36. ### password
  37. The password of minio. The modification should be synchronous updating at *MINIO_PASSWORD* in [.env](./.env).
  38. ### host
  39. The serving IP and port inside the docker container. This is not updating until changing the minio part in [docker-compose.yml](./docker-compose.yml)
  40. ## user_default_llm
  41. Newly signed-up users use LLM configured by this part. Otherwise, user need to configure his own LLM in *setting*.
  42. ### factory
  43. The LLM suppliers. "OpenAI", "Tongyi-Qianwen", "ZHIPU-AI", "Moonshot", "DeepSeek", "Baichuan", and "VolcEngine" are supported.
  44. ### api_key
  45. The corresponding API key of your assigned LLM vendor.
  46. ## oauth
  47. This is OAuth configuration which allows your system using the third-party account to sign-up and sign-in to the system.
  48. ### github
  49. Got to [Github](https://github.com/settings/developers), register new application, the *client_id* and *secret_key* will be given.