Step by step to Docker: How to connect Postgres container from Rails

You can use postgres container instead of installing postgres for Rails application. This is basic and clear. Because we can download the settings and configurations with postgres image.
We can write following command for download the postgres image:
Continue reading

Advertisements

Sidekiq Monitoring Authentication With Devise on Ruby on Rails

Sidekiq Monitoring displays the information of works in the background. This screen is very useful in our business development and production environment. But we may want protect access to this information. We can use the devise authentication of routing:

Allow a authenticated user:

We can change the routing as below:

Continue reading