DOCS
This commit is contained in:
parent
e1e2364ac5
commit
d2e93fe3a8
2 changed files with 7 additions and 14 deletions
|
|
@ -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:
|
||||
|
|
|
|||
19
README.md
19
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=<project>_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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue