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

Bugfix/custom url is not working on docker #29

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

WozniakMac
Copy link

If you try to use Mirage with docker it will fail because:

  1. In Mirage.start (runner.rb:14) it put default port. After that in Mirage::Client this if elsif (client.rb:15) will never use custom url because at first it check if there is port and if it could find it localhost is used.
  2. In Runner.start it use Mirage.running?(options) - (runner.rb:91) with Hash type param. Because of that it will always try to find if app is running as localhost not u custom url.

I tried to fix this error with backward compatibility. Classes interface stay almost this same.

@WozniakMac
Copy link
Author

CI is broken

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

Successfully merging this pull request may close these issues.

1 participant