Skip to content

bouvet/image-sftp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image-sftp

Small service to send images to an sftp from base64 encoded images in Sesam

System config:

{
  "_id": "image-sftp",
  "type": "system:microservice",
  "docker": {
    "environment": {
      "host": "$ENV(sftp-hostname)",
      "password": "$SECRET(sftp-password)",
      "username": "$ENV(sftp-username)",
      "filename": "what property should be used as filename",
      "imagedata": "Property of your image data",
      "ftp-port": "Port to user for ftp"
    },
    "image": "bouvetasa/image-sftp:latest",
    "port": 5000
  }
}

It's set to add missing hostkeys if missing.

Set fileextension to what is supported o to what the images where before encoding. Imagedata is the source property for the encoded image and filename is what the file should be called once it has been decoded.

Releases

No releases published

Packages

No packages published

Languages

  • Python 93.1%
  • Dockerfile 6.9%