shopware / development

MIT License
189 stars 170 forks source link

shopware/development:local installed under Ubuntu 20.04 in docker - docker-compose.override.yml gets overwritten #140

Closed reutli closed 3 years ago

reutli commented 3 years ago

Hi,

I've installed shopware/development:local in docker on a Ubuntu 20.04 machine. To reach the docker in the LAN I've changes the docker-compose.override.yml file to get the ports exposed to my LAN not only to the local machine (localhost). That worked for me, but ist seems the docker-compose.override gets overwritten regularly to the standard state with port exposing 127.0.0.1 ... ? What I'm doing wrong or how to set up an environment in that case to make the container reachable in my local network?

Any suggestions highly appreciated.

shyim commented 3 years ago

You need to modify this file https://github.com/shopware/development/blob/master/dev-ops/docker/docker-compose.override.yml and run psh again

reutli commented 3 years ago

thanks for replaying. So you meant to edit the file and then re-build the containers, right?

shyim commented 3 years ago

Yup

reutli commented 3 years ago

ok, will try and coming back afterwards. Before I'll do that any suggestions regarding issue https://github.com/shopware/development/issues/139 as I'm thinking this could be also done by changing some files before building the container.

shyim commented 3 years ago

Okay I close this. Feel free to create a new issue