-
Notifications
You must be signed in to change notification settings - Fork 604
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
order of networks in nginx template is random #431
Comments
Fixed in current |
I'm going to reopen this because I think that a few straightforward tweaks to docker-gen will make life easier for all template authors. Specifically: when order doesn't matter, slices in the template context should be sorted before executing the template. (IIUC, docker-gen currently returns objects in the same order received from Docker, which is apparently not very stable.) |
I'm not quite sure if this is a
docker-gen
issue or maybe anginx-proxy
template issue.I'm using the three container setup for a nginx proxy and noticed multiple
nginx
restarts due to changeddefault.conf
Comparing the generated conf files showed me, that the changes are only for the network comment lines.
Related "discussion": nginx-proxy/nginx-proxy#1981 (comment)
The text was updated successfully, but these errors were encountered: