add use custom config file instruction

This commit is contained in:
hexboy 2024-08-15 17:49:27 +03:30
parent 9e9deb73a4
commit 0f6b476927

View file

@ -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.