Skip to content

Configure gencon50 solr cloud environment - #213

Merged
cdoyle-temple merged 3 commits into
mainfrom
Configure_Gencon50_SolrCloud_environment
Aug 26, 2026
Merged

Configure gencon50 solr cloud environment#213
cdoyle-temple merged 3 commits into
mainfrom
Configure_Gencon50_SolrCloud_environment

Conversation

@nomadicoder

Copy link
Copy Markdown
Contributor

No description provided.

@cdoyle-temple cdoyle-temple left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

You'll need to use braces around the var names in the .env file for the makefile to interpret them correctly.

@cdoyle-temple cdoyle-temple left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

There’s also a related inconsistency: the README now tells developers to configure .env.local, but the Makefile only loads .env.

@nomadicoder

Copy link
Copy Markdown
Contributor Author

There’s also a related inconsistency: the README now tells developers to configure .env.local, but the Makefile only loads .env.

There is a precedence in the various env files. API keys can be written to the .env.local by the ansible playbook. I'll add that to the readme.

@nomadicoder

Copy link
Copy Markdown
Contributor Author

@cdoyle-temple The SOLRCLOUD_* values are provided by ansible-playbook-gencon50.

In group_vars/all.yml, rails_app_user_envvars maps:

  • SOLRCLOUD_USERsolr_auth_username (Vault encrypted)
  • SOLRCLOUD_PASSWORDsolr_auth_password (Vault encrypted)
  • SOLRCLOUD_HOSTsolrcloud_host

The rails_app role writes those environment variables into the deployed Gencon50 .env.local.

@cdoyle-temple cdoyle-temple left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Line 2 of the makefile is not needed

@cdoyle-temple
cdoyle-temple merged commit c991bf1 into main Aug 26, 2026
3 checks passed
@cdoyle-temple
cdoyle-temple deleted the Configure_Gencon50_SolrCloud_environment branch August 26, 2026 18:20
Comment thread README.md
cp .env.example .env
cp .env.example .env.local

and edit the `.env` content's `SOLR_URL` environment variable so it points to the

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@nomadicoder I'm not sure why this was deleted. It is the .env file that is used in the production environment, so it is important for developers to know that is where the change needs to take place. The .env.local is only for development.

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.

3 participants