Skip to content
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

Implement possibility to configure Patroni via environment #211

Merged

Conversation

CyberDem0n
Copy link
Member

No description provided.

Environment Configuration Settings
==================================

Some of configuration parameters defined in the configuration file is possible to override via Environment variables
Copy link
Contributor

@alexeyklyukin alexeyklyukin Jun 8, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd change the description to the following one:

It is possible to override some of the configuration parameters defined in the Patroni configuration file using the system environment variables. This document lists all environment variables handled by Patroni. The values set via those variables always take precedence over the ones set in the Patroni configuration file or via the PATRONI_CONFIGURATION environment variable.

@alexeyklyukin
Copy link
Contributor

+1

Most of the basic configuration could be done via ENV
@feikesteenbergen
Copy link
Contributor

👍

Alexander Kukushkin added 2 commits June 10, 2016 12:30
…troni into feature/environment-configuration
* GET /config was returning latesy "correct" version of dynamic
  configuration.
* PATCH /config was breaking when trying to patch not dict with dict
@alexeyklyukin
Copy link
Contributor

+1

@coveralls
Copy link

coveralls commented Jun 10, 2016

Coverage Status

Coverage increased (+0.003%) to 99.876% when pulling 9ecff0f on feature/environment-configuration into 95db725 on feature/dynamic-configuration.

@CyberDem0n CyberDem0n merged commit f2980b1 into feature/dynamic-configuration Jun 14, 2016
@CyberDem0n CyberDem0n deleted the feature/environment-configuration branch June 14, 2016 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants