Skip to content
This repository has been archived by the owner on Jul 3, 2020. It is now read-only.

Remove ipv4 addresses and use docker default network #2

Closed
teiling88 opened this issue Sep 12, 2017 · 7 comments
Closed

Remove ipv4 addresses and use docker default network #2

teiling88 opened this issue Sep 12, 2017 · 7 comments
Assignees

Comments

@teiling88
Copy link
Contributor

No description provided.

@teiling88 teiling88 self-assigned this Sep 12, 2017
@jonnitto
Copy link

jonnitto commented Feb 6, 2018

Any progress in this? I can't use this repo like this… Thanks in advance!

@jonnitto
Copy link

jonnitto commented Feb 6, 2018

I made it work (on macOS) with sudo ifconfig lo0 alias 10.100.111.46 in the terminal and add - "80:80" in services.app_server.ports in the file docker-compose.yml

@dlamar-globus
Copy link

Due to https://docs.docker.com/docker-for-mac/networking/#known-limitations-use-cases-and-workarounds i could also not use the ips of the containers. The comment of @jonnitto was a perfect fit for my issue. Thank you.

@dubst3pp4
Copy link

dubst3pp4 commented Jun 11, 2018

I removed that specific network and altered the vhost config to run on localhost, but the webserver still sends a "301 Moved Permanently" status and redirects to http://10.100.111.46 via the Location header.

Where does this redirect come from?

Edit: found the configuration of the Shopware host in the .psh.yaml.dist file, configuration variable SW_HOST.

@bvogel
Copy link

bvogel commented Jul 17, 2018

anyone still working towards this?

@Bobspadger
Copy link

Any updates on fixing this for mac users without having to mess with ethernet configs?

@pquerner
Copy link

Is https://traefik.io/ an alternative instead of direct IP access?

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

No branches or pull requests

7 participants