Skip to content

Add nginx sidecar to geth#8136

Closed
jcortejoso wants to merge 10 commits intomasterfrom
jcortejoso/add_nginx_sidecar_geth
Closed

Add nginx sidecar to geth#8136
jcortejoso wants to merge 10 commits intomasterfrom
jcortejoso/add_nginx_sidecar_geth

Conversation

@jcortejoso
Copy link
Copy Markdown
Member

Description

Add nginx sidecar to handle the geth rpc/ws services. Workaround to sessionAffinity not working as expected (celo-blockchain#1600)

Other changes

Describe any minor or "drive-by" changes here.

Tested

Nginx seems to work well. Additional tests will be done when deployed.

Related issues

  • Fixes celo-blockchain#1600
  • It will require updating the blockscout endpoints if we confirm this solution works as expected.

Backwards compatibility

Not impact

@jcortejoso jcortejoso requested a review from carterqw2 June 21, 2021 10:43
@jcortejoso jcortejoso changed the title Jcortejoso/add nginx sidecar geth Add nginx sidecar to geth Jun 21, 2021
@carterqw2 carterqw2 requested a review from lvpeschke June 21, 2021 11:59
@jcortejoso jcortejoso requested review from asaj and cmcewen as code owners June 21, 2021 14:28
maxpeers: 1000
serve: 90
fullnodeCheckBlockAge: true
enable_nginx: true
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.

Could you add a comment for future readers of the file to explain why nginx is added by default?

Comment on lines +148 to +149
params.push(`--set blockscout.jsonrpc_http_url=http://tx-nodes-private:3000/rpc`)
params.push(`--set blockscout.jsonrpc_ws_url=ws://tx-nodes-private:3000/ws`)
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.

Is there a way to read these parameters from the environment variables instead of hardcoding them, so that there is a single source of truth for the configuration?

@jcortejoso
Copy link
Copy Markdown
Member Author

Closing in favor of #8161

@jcortejoso jcortejoso closed this Jun 23, 2021
@aaronmgdr aaronmgdr deleted the jcortejoso/add_nginx_sidecar_geth branch August 16, 2023 17:44
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.

2 participants