Skip to content

Database connection through ENV var #1467

Answered by crozzy
mieliespoor asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, that functionality was recently added: https://github.com/quay/clair/blob/main/config/database.go#L15. You should be able to use the documented PG* env vars to configure the DB connection(s).

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@hdonnay
Comment options

@mieliespoor
Comment options

@mieliespoor
Comment options

@mieliespoor
Comment options

Answer selected by mieliespoor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants