shopware/development:local installed under Ubuntu 20.04 in docker - docker-compose.override.yml gets overwritten
reutli opened this issue · 5 comments
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.
You need to modify this file
https://github.com/shopware/development/blob/master/dev-ops/docker/docker-compose.override.yml and run psh again
thanks for replaying.
So you meant to edit the file and then re-build the containers, right?
Yup
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.
Okay I close this. Feel free to create a new issue