-
Notifications
You must be signed in to change notification settings - Fork 59
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
Not all config options can be configured via env vars #29
Comments
The same question. |
Agreed, it would be nice if the environment keys were derived automatically from the I'd also like the ability to configure multiple dbs via the environment. That could be split into a separate issue if it adds too much complexity to implement at once. For example something like:
|
This is all good feedback, and will give this some more thought how multiple DBs can be supported. For the main issue initially reported ( Would it be useful if the regular config file format was accepted by the Docker container? (i.e. the full size config file as an env variable, or mounted in as a volume?) |
It already is accepted. I've mounted config file to `/home/pganalyze/` on
the container and it was picked up. As per multiple databases: for me
single db is enough. You can always set up multiple containers with
collectors if you have multiple dbs or use the file method if you really
want to.
pt., 30 lis 2018, 17:32: Lukas Fittl <notifications@github.com> napisał(a):
… This is all good feedback, and will give this some more thought how
multiple DBs can be supported.
For the main issue initially reported (db_log_location) I pushed a fix
yesterday (515202d
<515202d>)
and will stamp a new release in the next few days.
Would it be useful if the regular config file format was accepted by the
Docker container? (i.e. the full size config file as an env variable, or
mounted in as a volume?)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#29 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAL07axV7aTv6gQvluBPWrR7CdE7w2k-ks5u0V2ugaJpZM4Y2Cj8>
.
|
@szuliq Good point, you are indeed correct that this already works :) |
Closing this since the |
Why some config options are being read from env vars and some are not?
I really liked the fact I can configure
collector
via env vars on Docker. The joy ended when I wanted to setdb_log_location
.Please make all options configurable via env vars.
The text was updated successfully, but these errors were encountered: