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

Include DB_* Environment Variables in Default .env / .env.sample #149

Open
lotyp opened this issue Jul 28, 2024 · 1 comment
Open

Include DB_* Environment Variables in Default .env / .env.sample #149

lotyp opened this issue Jul 28, 2024 · 1 comment

Comments

@lotyp
Copy link

lotyp commented Jul 28, 2024

Description

The default .env and .env.sample files are missing DB_* environment variables. For new projects, following the 12-factor app rules, users expect these default variables to be included.

Currently, users must inspect configs and documentation to find the necessary variables.

Suggested Solution

Include commonly used DB_* environment variables in the default .env or .env.sample files.

@roxblnfk roxblnfk transferred this issue from spiral/framework Jul 29, 2024
@roxblnfk
Copy link
Member

Need to check that the installer adds these envs during installation

app/.env.sample

Lines 30 to 36 in 5700688

# Database
DB_CONNECTION=sqlite
DB_DATABASE=spiral
DB_USERNAME=spiral
DB_PASSWORD=
DB_HOST=127.0.0.1
DB_PORT=5432

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

2 participants