Skip to content

Latest commit

 

History

History
48 lines (35 loc) · 880 Bytes

README.md

File metadata and controls

48 lines (35 loc) · 880 Bytes

ftp2rabbitmq

Design

Big Picture

Gettings started

Start RabbitMQ

docker run -d --rm -p 5672:5672 -p 15672:15672 --name mq rabbitmq:3.7-management

Start application

docker run -dit -p 2121:2121 --link mq -e rabbitmq_hostname=mq raphexion/ftp2rabbitmq

Development

rebar3 shell

For development purposes you can create a client that listens to the queue. Please note that foobar must be the same as the username when logging into the ftp server.

rabbitmq2debug:start_link("data", "ftpdata", "ftp_data1", "#").
rabbitmq2debug:start_link("info", "ftpinfo", "ftp_info1", "#").

Configure RabbitMQ broker

export rabbitmq_username="guest"
export rabbitmq_password="guest"
export rabbitmq_hostname="localhost"
export rabbitmq_port="5672"