f4fda6e741
* Refactor custom config mounting for Docker * Remove test.toml
User Configs Directory
Overview
This directory is mounted inside the R2R Docker container and is intended for custom configuration files. Any files placed here will be accessible to the application running in the container.
Usage
- Place your custom configuration files in this directory.
- Set the
R2R_CONFIG_PATHin ther2r.envorr2r-full.envfiles. - The path format inside the container is:
/app/user_configs/<config>.toml
Configuration
The application uses the environment variable you set to locate your configuration file:
R2R_CONFIG_PATH=/app/user_configs/<config>.toml
If you want to use a different filename, update the R2R_CONFIG_PATH variable in your environment file to point to your custom file, for example:
R2R_CONFIG_PATH=/app/user_configs/my_custom_config.toml
Troubleshooting
If you encounter configuration errors, check:
- Your configuration file exists in this directory
- The filename matches what's specified in
R2R_CONFIG_PATH - The file has proper permissions (readable)
- The file contains valid TOML syntax
For more detailed configuration information, see the main documentation.