Update README.md

This commit is contained in:
David Maisonave
2025-01-09 14:04:11 -05:00
committed by GitHub
parent 12ad5fd206
commit e12aac51d7

View File

@@ -210,10 +210,10 @@ python filemonitor.py --url http://localhost:9999 --docker "C:\Users\MyUser\AppD
- FileMonitor can be configured to run on the host machine, and update all the Stash Docker instances when a file change occurs. To activate this option change the filemonitor_config.py file by setting the **dockers** field with the information associated with each Stash Docker instance. - FileMonitor can be configured to run on the host machine, and update all the Stash Docker instances when a file change occurs. To activate this option change the filemonitor_config.py file by setting the **dockers** field with the information associated with each Stash Docker instance.
- There are three examples which are commented out in the **dockers** field, which users can easily modify to configure for thier particular Stash Docker instances. - There are three examples which are commented out in the **dockers** field, which users can easily modify to configure for thier particular Stash Docker instances.
- The following is the uncommented example from the **filemonitor_config.py** file. - The following is the uncommented example from the **filemonitor_config.py** file.
``` Python ```Python
# Docker notification from host machine # Docker notification from host machine
"dockers": [ "dockers": [
# Example Stash Docker configurations. For more details see https://github.com/David-Maisonave/Axter-Stash/blob/main/plugins/FileMonitor#Multiple-Stash-Docker-Configuration # Example Stash Docker configurations.
{"GQL":"http://localhost:9995", "apiKey":"", "bindMounts":[ {"GQL":"http://localhost:9995", "apiKey":"", "bindMounts":[
{r"C:\Users\admin3\AppData\Local\Docker\wsl\Stash3\data":"/data"}, {r"C:\Users\admin3\AppData\Local\Docker\wsl\Stash3\data":"/data"},
{r"C:\Video":"/mnt/Video"}, {r"C:\Video":"/mnt/Video"},