app icon indicating copy to clipboard operation
app copied to clipboard

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

Open lotyp opened this issue 1 year ago • 1 comments

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.

lotyp avatar Jul 28 '24 13:07 lotyp

Need to check that the installer adds these envs during installation https://github.com/spiral/app/blob/5700688f67f5a3d1d417549ba955b27b6512bb82/.env.sample#L30-L36

roxblnfk avatar Jul 29 '24 09:07 roxblnfk

Fixed in #155

roxblnfk avatar Apr 20 '25 15:04 roxblnfk