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

updates fly configs #189

Merged
merged 3 commits into from
Apr 10, 2024
Merged

updates fly configs #189

merged 3 commits into from
Apr 10, 2024

Conversation

wtfsayo
Copy link
Contributor

@wtfsayo wtfsayo commented Apr 10, 2024

  • removed our own config variables
  • updated docker file for not copying node_modules

Copy link
Contributor

@plor plor left a comment

Choose a reason for hiding this comment

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

Nothing critical, I'm mostly just worried that we'll look back at this in a couple weeks and wonder what the hell we were up to.

ARG NEXT_PUBLIC_RPC_ENDPOINT
ARG NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID
ARG NEXT_PUBLIC_APP_URL
ARG API_ENDPOINT
Copy link
Contributor

Choose a reason for hiding this comment

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

I still think we should figure out how to avoid this, but its ok for now. We should document it clearly though, since it isn't obvious why this is done this way.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is understandable needs a comment/flag

Comment on lines 21 to 22
NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID = 'wallet-connect-project-id'
NEXT_PUBLIC_RPC_ENDPOINT = 'rpc-endpoint'
Copy link
Contributor

Choose a reason for hiding this comment

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

This is actually setting the environment variables to this, they get overwritten by secrets, but it isn't clear that this is a great way to document the need for the secrets. Not sure though.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I agree but we shouldn't put our secrets in repo anyway

Copy link
Contributor

Choose a reason for hiding this comment

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

Right, but this doesn't do anything right here, so a bit confusing.

Comment on lines 23 to 24
NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID = 'wallet-connect-project-id'
NEXT_PUBLIC_RPC_ENDPOINT = 'rpc-endpoint'
Copy link
Contributor

Choose a reason for hiding this comment

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

Same complaint

@wtfsayo wtfsayo merged commit ca45efc into develop Apr 10, 2024
@wtfsayo wtfsayo deleted the fly-configs branch April 10, 2024 18:34
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