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

feat: configure server with env variables #45

Merged
merged 1 commit into from
Mar 1, 2024
Merged

feat: configure server with env variables #45

merged 1 commit into from
Mar 1, 2024

Conversation

hacdias
Copy link
Member

@hacdias hacdias commented Feb 29, 2024

Closes #42.

Copy link
Member

@lidel lidel left a comment

Choose a reason for hiding this comment

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

Thanks!

Comment on lines +26 to +29
Name: "port",
Value: 8080,
EnvVars: []string{"SOMEGUY_PORT"},
Usage: "port to serve requests on",
Copy link
Member

Choose a reason for hiding this comment

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

💭 I think after this PR is merged we can adjust the default, see #47

@hacdias hacdias merged commit 6e12187 into main Mar 1, 2024
6 checks passed
@hacdias hacdias deleted the conf-env branch March 1, 2024 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: 🎉 Done
Development

Successfully merging this pull request may close these issues.

Implement and document ENV-based configuration
2 participants