4 ms·
> These kind of systems have their own configs, be it elasticsearch.yml or my.cnf. The Dockerfile format is completely fucking useless at this kind of thing. c
by olalonde 11y ago
> These kind of systems have their own configs, be it elasticsearch.yml or my.cnf. The Dockerfile format is completely fucking useless at this kind of thing.
confd is meant to solve this problem [0]. We use it at work to keep our bitcoind server configuration in sync with etcd [1]. Deis (the PaaS) also relies heavily on it, to generate nginx configuration files for example [2].
[0] https://github.com/kelseyhightower/confd https://github.com/kelseyhightower/confd
[1] https://github.com/olalonde/coreos-bitcoind https://github.com/olalonde/coreos-bitcoind
[2] https://github.com/deis/deis/tree/master/router/rootfs/etc/confd https://github.com/deis/deis/tree/master/router/rootfs/etc/c...
- SevereOverfl0w 11y agoI've always felt like config should be "COPY"'d into an image. Etcd/Confd looks really neat, in principle, but I feel like it's asking for trouble in terms of "immutable containers." I'm not overly familiar with the system though, so I may be misunderstanding.