Open AHelper opened 8 years ago
This feature would be really helpful for me. I'm wanting to use nginx-proxy
with several different docker compose projects. Currently, the process would be:
nginx-proxy
container docker compose up -d
)
nginx-proxy
container and the docker compose project containers not (yet) being on the same network it only results in # Cannot connect to network 'NAME_OF_NETWORK' of this container
comments being creatednginx-proxy
container (docker network connect ...
)nginx-proxy
container to force docker-gen
to recreate and reload the configI'm hoping to avoid the last step and think that docker-gen
listening for changes to the nginx-proxy
container would solve this. Starting the docker compose project before the nginx-proxy
container isn't possible for me, as each project is created and destroyed at different times.
@buchdag, any chance of adding this feature? Thanks
If a container's network config changes, docker-gen should trigger the generator.
Right now, v1.20+ needs either an interval, a restart of docker-gen, or a restart of the changed container.