Can't access Dokku Rails App - How to point port to app?
So I finally found a way to setup my Rails App with Dokku. I even got to perform a rake db:migrate on my app, called “www”.
Now I am missing one last step. I access my droplet IP address and I can’t see my website running. I don’t know if it isn’t running, I haven’t set the settings for dokku and web access right (probably didn’t), or what else.
This is what my Procfile looks like:
web: bundle exec rails server -p 80
Do I have to run a command to make that start? Is it performed automatically?
If the server boots automatically, then how do I point MY-IP-ADDRESS:80 to the “www” app? That is probably where the issue is otherwise.
P.S: I see “Unicorn” mentioned a lot. Is that a requirement to make this work?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.