Rails Restful API backend template - project generator/development environment. Can be used by Ruby developers for quick start on building Restful API's using Ruby on Rails framework. This project is aimed to simmplify development environment setup and includes many useful dev tools like RabbitMQ, Redis, Elasticsearch, Kibana, Logstash, Filebeat, DB.
Ruby libraries included:
Gems:
$ git clone "https://github.com/trydirect/ror-restful.git"
$ cd rails-restful/v01/dockerfiles
$ docker-compose up -d
$ docker-compose ps
Name Command State Ports
------------------------------------------------------------------------------------------------------------------------------
db docker-entrypoint.sh postgres Up (healthy) 5432/tcp
elasticsearch /docker-entrypoint.sh elas ... Up 0.0.0.0:9200->9200/tcp, 0.0.0.0:9300->9300/tcp
kibana /docker-entrypoint.sh kibana Up 0.0.0.0:5601->5601/tcp
logstash /docker-entrypoint.sh -e Up 0.0.0.0:5044->5044/tcp, 9600/tcp
filebeat /usr/local/bin/docker ... Up
mq docker-entrypoint.sh rabbi ... Up (healthy) 15671/tcp, 0.0.0.0:21072->15672/tcp, 25672/tcp, 4369/tcp, 5671/tcp, 0.0.0.0:2172->5672/tcp,0.0.0.0:32770->5672/tcp
nginx /usr/bin/supervisord -c /e ... Up 0.0.0.0:443->443/tcp, 0.0.0.0:80->80/tcp
redis docker-entrypoint.sh redis ... Up (healthy) 6379/tcp
web /usr/bin/supervisord -c /e ... Up 0.0.0.0:8000->8000/tcp
let's check the result: http://localhost/index_.html
$ python ../../tests.py
Content type
Image
Digest
sha256:619c1fb98…
Size
548.6 MB
Last updated
11 months ago
docker pull trydirect/ror-restful