Ruby on Rails Monday, March 16, 2020

The app in question is at https://github.com/jhsu802701/railn-20200316-215223-398 .  Note that config/environments/development.rb is configured for MailCatcher.

I've been able to use MailCatcher without docker-compose, but I can't quite figure out how to get it to work in a Rails app that revolves around docker-compose.

One solution I tried is to add the 1080:1080 port assignments to the web section of docker-compose.yml, but the MailCatcher interface doesn't appear at http://localhost:1080/.

Another solution I've tried is to add a mailcatcher section under services to make use of a Docker image dedicated to MailCatcher.  While the MailCatcher interface does appear, the email messages I expect when I try to sign up in my local setup do not materialize.

Exactly what am I missing?

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/d32f3288-b923-4aa5-8360-db8288b69d1e%40googlegroups.com.

No comments:

Post a Comment