Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/raphexion/ftp2rabbitmq

FTP server based on bifrost that published files into an RabbitMQ exchange.
https://github.com/raphexion/ftp2rabbitmq

erlang ftp ftp-server in-memory legacy rabbitmq

Last synced: about 2 months ago
JSON representation

FTP server based on bifrost that published files into an RabbitMQ exchange.

Awesome Lists containing this project

README

        

ftp2rabbitmq
============

Design
------

![Big Picture](doc/big_picture.png)

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"
```