diff --git a/README.md b/README.md index 9975a43..9f7a4f4 100644 --- a/README.md +++ b/README.md @@ -149,6 +149,7 @@ docker pull hexboy2011/maven-mirror-tool:latest docker run -d \ -p 8008:8008 \ -v /your/custom/cache/dir:/home/node/app/local-cache \ +-v /your/config.local.yml:/home/node/app/config.local.yml \ hexboy2011/maven-mirror-tool:latest ``` @@ -160,6 +161,8 @@ hexboy2011/maven-mirror-tool:latest - `-v /your/custom/cache/dir:/home/node/app/local-cache`: Binds the directory /your/custom/cache/dir on your host to /home/node/app/local-cache in the container, allowing the container to store cached artifacts locally. +- `-v /your/config.local.yml:/home/node/app/config.local.yml`: Binds the file /your/config.local.yml on your host to /home/node/app/config.local.yml in the container, allowing the container to use your custom config file. + ## Contributing Contributions are welcome! If you find any issues or would like to enhance the project, feel free to submit a pull request. Please follow the existing code style and provide clear commit messages.