mirror of
https://github.com/hexboy/maven-mirror-tool.git
synced 2025-04-08 07:49:09 +00:00
add use custom config file instruction
This commit is contained in:
parent
9e9deb73a4
commit
0f6b476927
1 changed files with 3 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue