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

Read configurations from different files #21

Open
VincenzoFerme opened this issue Feb 11, 2016 · 0 comments
Open

Read configurations from different files #21

VincenzoFerme opened this issue Feb 11, 2016 · 0 comments
Assignees
Labels
Milestone

Comments

@VincenzoFerme
Copy link
Member

We are moving some configuration variables to be handled by Consul, and serialised to file by envconsul. This means we need to read also another *.yml file (for now at boot time of the application, since we do not expect it to be updated), and store the information in a struct.

Location of the file in the container:

  • /app/config.yml

A reference to start with for reading information also from this file:

A reference for future work, where we should monitor the changes to the file and update the configuration stored in memory:

Once it is done, remove the MINIO variables also from the deployment descriptor of the service.

@VincenzoFerme VincenzoFerme self-assigned this Feb 11, 2016
@VincenzoFerme VincenzoFerme added this to the Priorities milestone Feb 11, 2016
@VincenzoFerme VincenzoFerme modified the milestones: Next Tasks, Priorities Aug 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants