From cc405b35bbaa8e84becab352c70d3930a60aadab Mon Sep 17 00:00:00 2001 From: David Maisonave <47364845+David-Maisonave@users.noreply.github.com> Date: Sat, 4 Jan 2025 12:07:37 -0500 Subject: [PATCH] Update README.md --- plugins/FileMonitor/README.md | 3 ++- plugins/FileMonitor/filemonitor.py | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/FileMonitor/README.md b/plugins/FileMonitor/README.md index 29ca42b..1eb15dc 100644 --- a/plugins/FileMonitor/README.md +++ b/plugins/FileMonitor/README.md @@ -185,7 +185,7 @@ Please use the following link to report FileMonitor Feature Request:[FileMonitor Please do **NOT** use the feature request to include any problems associated with errors. Instead use the bug report for error issues. -## Docker +## Docker (Not yet supported!!!) - FileMonitor requires watchdog module in order to work. Although the watchdog module loads and runs on Docker, it fails to function because Docker fails to report file changes. - FileMonitor can work with Docker Stash setup if it's executed externally on the host OS. Start FileMonitor on the command line and pass the Stash URL. - For more information, see [Using FileMonitor as a script](https://github.com/David-Maisonave/Axter-Stash/tree/main/plugins/FileMonitor#Using-FileMonitor-as-a-script) @@ -193,3 +193,4 @@ Please do **NOT** use the feature request to include any problems associated wit ### Future Planned Features or Fixes - Have the FileMonitor running status ICON update the icon without having to go to the Settings->Tools->FileMonitor page. Planned for version 1.2.0. +- Add Docker support externally by adding docker command line argument that will take the docker-compose.yml file path. \ No newline at end of file diff --git a/plugins/FileMonitor/filemonitor.py b/plugins/FileMonitor/filemonitor.py index fb7c6e7..eceae64 100644 --- a/plugins/FileMonitor/filemonitor.py +++ b/plugins/FileMonitor/filemonitor.py @@ -37,6 +37,7 @@ parser.add_argument('--kill_que', '-k', dest='kill_job_task_que', type=str, help parser.add_argument('--restart', '-r', dest='restart', action='store_true', help='Restart FileMonitor.') parser.add_argument('--silent', '--quit', '-q', dest='quit', action='store_true', help='Run in silent mode. No output to console or stderr. Use this when running from pythonw.exe') parser.add_argument('--apikey', '-a', dest='apikey', type=str, help='API Key') +parser.add_argument('--docker', '-d', dest='docker', type=str, help='Docker compose YML file.') parse_args = parser.parse_args()