Jason Wilder

Results 36 comments of Jason Wilder

How about adding the the math functions directly to templates.go as you had suggested in the description?

Yeah. That should be straightforward to support. Would you want to name them to distinguish them in the ui more easily?

I think you need to mount in your certs dir from the host to your docker-gen container at `/etc/nginx/certs`. The `dir` template function is saying that dir does not exist:...

Are you running `docker-gen` as root?

Interesting idea. I'm not that familiar with docker cloud so would need to look at it more. The fields available in a template are primarily defined here: https://github.com/jwilder/docker-gen/blob/master/context.go My main...

That looks feasible. The Docker events API has some `filters` that can be specified to reduce events. It looks like a lot more events are sent now than when `docker-gen`...

Not sure if this is possible. I think `--links` just sets up hosts file entries and I don't think those are exposed through the docker API directly. It might be...

If you send a sigquit signal to docker-gen, it will crash with a stack trace that should help figure out why it is hanging. I have not seen the hang...

If you need to make your templates a little more flexible, you might be able to use an env var from the `docker-gen` environment in the template as well. E.g....