diff --git a/docker/env/pocl_job.env.example b/docker/env/pocl_job.env.example index 5b98081fb..73604b312 100644 --- a/docker/env/pocl_job.env.example +++ b/docker/env/pocl_job.env.example @@ -23,12 +23,5 @@ SALES_API_TIMEOUT_MS=120000 POCL_FILE_STAGING_TABLE=PoclFileStaging POCL_RECORD_STAGING_TABLE=PoclRecordStaging -# FTP Settings -POCL_FTP_HOST=host.docker.internal -POCL_FTP_PORT=2222 -POCL_FTP_PATH=/share/pocl -POCL_FTP_USERNAME=test_sftp_user -POCL_FTP_KEY_SECRET_ID=/dev/fsh/local/sftp/ssh_ed25519_host_key - # Debug settings DEBUG=pocl:*,-pocl:ftp diff --git a/packages/pocl-job/README.md b/packages/pocl-job/README.md index aca7e211e..475e61e9e 100644 --- a/packages/pocl-job/README.md +++ b/packages/pocl-job/README.md @@ -9,21 +9,16 @@ to maintain state during the import process. # Environment variables -| name | description | required | default | valid | notes | -| ------------------------- | ----------------------------------------------------------------------------------- | :------: | --------- | ----------------------------------------------- | ----- | -| NODE_ENV | Node environment | no | | development, test, production | | -| POCL_FILE_STAGING_TABLE | The DynamoDB table used for staging POCL files | yes | | | | -| POCL_RECORD_STAGING_TABLE | The DynamoDB table used for staging POCL records | yes | | | | -| POCL_STAGING_TTL | The time to live for records in either staging table | no | 168 hours | | | -| POCL_FTP_HOST | The hostname of the target FTP server | yes | | | | -| POCL_FTP_PORT | The port of the FTP service on the target server | yes | | | | -| POCL_FTP_PATH | The base path under which files should be written to the FTP server | yes | | | | -| POCL_FTP_USERNAME | The username used to authenticate with the FTP server | yes | | | | -| POCL_FTP_PRIVATE_KEY_PATH | The path to the folder containing the keys used to authenticate with the FTP server | yes | | | | -| POCL_S3_BUCKET | The name of the AWS S3 bucket in which to stage pocl data | yes | | | | -| DEBUG | Use to enable output of debug information to the console | yes | | pocl:\*, pocl:staging, pocl:transport, pocl:ftp | | -| AIRBRAKE_HOST | URL of airbrake host | no | | | | -| AIRBRAKE_PROJECT_KEY | Project key for airbrake logging | no | | | | +| name | description | required | default | valid | notes | +| ------------------------- | --------------------------------------------------------- | :------: | --------- | ----------------------------------------------- | ----- | +| NODE_ENV | Node environment | no | | development, test, production | | +| POCL_FILE_STAGING_TABLE | The DynamoDB table used for staging POCL files | yes | | | | +| POCL_RECORD_STAGING_TABLE | The DynamoDB table used for staging POCL records | yes | | | | +| POCL_STAGING_TTL | The time to live for records in either staging table | no | 168 hours | | | +| POCL_S3_BUCKET | The name of the AWS S3 bucket in which to stage pocl data | yes | | | | +| DEBUG | Use to enable output of debug information to the console | yes | | pocl:\*, pocl:staging, pocl:transport, pocl:ftp | | +| AIRBRAKE_HOST | URL of airbrake host | no | | | | +| AIRBRAKE_PROJECT_KEY | Project key for airbrake logging | no | | | | ### See also: