-
Notifications
You must be signed in to change notification settings - Fork 32
build: add FTP and SFTP servers in docker-compose #161
Comments
Should this be a part of a larger... "run as a developer"? For production, you would want to know that an SFTP endpoint was properly configured. The error that I see in the log is what I would want to have for production. I also think that a "system check" script would be useful for production to ensure that the system was properly configured. |
Maybe the issue wasn't clear, but paygate defaults to checking the FTP/SFTP server from paygate/file_transfer_configs.go Lines 174 to 183 in 533fdf8
The error logs would still appear on connection errors in production. We don't log differently for production vs development. We could add each server to
Adding fields like |
We should launch our docker-compose setup with an FTP and SFTP (ssh file transfer protocol) servers running so paygate can show the async file transfer logic. Instead paygate currently spams the log with errors:
There are commands in the makefile,
make start-ftp-server
andmake start-sftp-server
we can use that as a starting point for the docker-compose file. The only complication is that inbound and returned files are deleted, so you’d only see paygate process files in the first iteration of its sftp loop.This also ties in with #147 as to how we would configure this inside the docker-compose file.
The text was updated successfully, but these errors were encountered: