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

Is dotenv support possible? #185

Open
1 task done
vicary opened this issue Jul 28, 2023 · 0 comments
Open
1 task done

Is dotenv support possible? #185

vicary opened this issue Jul 28, 2023 · 0 comments

Comments

@vicary
Copy link

vicary commented Jul 28, 2023

Is there an existing issue for this?

  • I have searched existing issues, it hasn't been reported yet

Use case description

In serverless.yml there is an option useDotenv where it searches for a .env file or it's variables in the same directory.

When composing services with serverless-compose.yml, it would be much easier to load one .env in the parent directory, and then pass them down to individual services via param.

Proposed solution (optional)

Add useDotenv option in serverless-compose.yml.

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

No branches or pull requests

1 participant