From d2e93fe3a882c1ce1c2b2ed6d7dd90c30f311e4b Mon Sep 17 00:00:00 2001 From: livdebus Date: Wed, 25 Nov 2026 16:14:48 +0100 Subject: [PATCH] DOCS --- .env.example | 2 ++ README.md | 19 +++++-------------- 2 files changed, 7 insertions(+), 14 deletions(-) diff --git a/.env.example b/.env.example index cc08a3a..65810c1 100644 --- a/.env.example +++ b/.env.example @@ -51,6 +51,8 @@ SMB_SOURCE_1_LOGICAL=\\company\finance SMB_SOURCE_1_USERNAME=svc_onyx SMB_SOURCE_1_PASSWORD=change-me SMB_SOURCE_1_DOMAIN=COMPANY +# SMB_SOURCE_1_MODIFIED_AFTER=2024-01-01 (inclusive) +# SMB_SOURCE_1_MODIFIED_BEFORE=2025-01-01 (exclusive) # SMB_SOURCE_1_VERS=3.0 # Extra raw CIFS mount options, appended verbatim to `mount -t cifs -o ...`. # e.g. force the server's charset so filenames decode at mount time: diff --git a/README.md b/README.md index e0d472f..d134c68 100644 --- a/README.md +++ b/README.md @@ -60,20 +60,9 @@ No `-f` injection, so a Compose management tool can handle it on its own. It joins Onyx's network to reach the API by service name. ```bash -cd smb-connector -docker compose -f docker-compose.standalone.yml up -d --build -docker compose -f docker-compose.standalone.yml logs -f -``` - -Onyx's compose has `name: onyx`, so its network is `onyx_default` (the default). -If your Onyx project uses another name, set `ONYX_NETWORK=_default`. - -**B. Injected into the Onyx compose (legacy).** Adds the service to the Onyx -project via a second compose file: - -```bash -docker compose -f docker-compose.yml -f smb-connector/docker-compose.smb.yml up -d --build smb_connector -docker compose logs -f smb_connector +cd aido-smb-connector +docker compose up -d --build +docker compose logs -f ``` ### SMB mount — two modes @@ -90,6 +79,8 @@ SMB_SOURCE_1_USERNAME=svc_onyx SMB_SOURCE_1_PASSWORD=… # kept in a 0600 creds file, never in the process list SMB_SOURCE_1_DOMAIN=COMPANY # optional # SMB_SOURCE_1_VERS=3.0 # SMB dialect, default 3.0 +# SMB_SOURCE_1_MODIFIED_AFTER=2024-01-01 (inclusive) +# SMB_SOURCE_1_MODIFIED_BEFORE=2025-01-01 (exclusive) ``` This needs two Linux capabilities on the container (already set in