Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run inside Docker #89

Closed
Seanny123 opened this issue Dec 18, 2018 · 3 comments
Closed

Unable to run inside Docker #89

Seanny123 opened this issue Dec 18, 2018 · 3 comments

Comments

@Seanny123
Copy link

Seanny123 commented Dec 18, 2018

I was trying to deploy a REST service via a Docker container on AWS. I was trying to use Genie for this purpose, but I couldn't get it working on my machine, despite using identical instructions for a Flask server. See the Dockerfile and instructions in this folder.

To be clear, this is no longer a priority for me, given my co-worker has figured out how to deploy our service via AWS Lambda, but I thought it was still worth mentioning. Especially since I'm having similar issues with Bukdu, so it might be something to do with HTTP.jl?

@essenciary
Copy link
Member

@Seanny123 Thanks for reporting this - I'll take a look, I'm curious myself.

@Seanny123
Copy link
Author

Due to a series of embarrassing misunderstandings, I thought 0.0.0.0 and 127.0.0.1 were equivalent. They are not. By changing the code to Genie.AppServer.startup(8080, "0.0.0.0") the problem was resolved.

@essenciary
Copy link
Member

Yeeee! Thanks for letting me know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants