Logo
Explore Help
Register Sign In
yujunjun/unstructured
1
0
Fork 0
You've already forked unstructured
mirror of https://github.com/Unstructured-IO/unstructured.git synced 2025-07-04 15:42:16 +00:00
Code Issues Packages Projects Releases Wiki Activity
unstructured/scripts/sftp-test-helpers/docker-compose.yaml

12 lines
406 B
YAML
Raw Permalink Normal View History

feat: Add sftp source connector (#2163) Adds source connector for SFTP which uses fsspec and paramiko via fsspec. Paramiko is the standard sftp package for python used in pysftp etc... ``` --username foo \ --password bar \ --remote-url sftp://localhost:47474/upload/ ``` Will only download a specifically requested file if it has an extension. (i.e. `--remote-url sftp://localhost:47474/upload/bob.zip`) It will treat any other remote_url as a folder path. This is intentional. --------- Co-authored-by: potter-potter <david.potter@gmail.com>
2023-12-07 11:33:19 -08:00
services:
sftp:
image: atmoz/sftp
container_name: sftp-test
ports:
- "47474:22" # rarely used port in case standard port is used in CI
command: foo:bar:::upload
healthcheck:
test: ["CMD-SHELL", "ssh -o 'BatchMode=true' -o 'StrictHostKeyChecking=no' healthcheck-invalid@localhost 2>&1 | grep -q 'Permission denied'"]
interval: 30s
timeout: 10s
retries: 3
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.5 Page: 96ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API