diff options
| author | Thomas Vanbesien <tvanbesi@proton.me> | 2026-03-22 13:40:53 +0100 |
|---|---|---|
| committer | Thomas Vanbesien <tvanbesi@proton.me> | 2026-03-22 13:40:53 +0100 |
| commit | de41aa4531df4515de93eba685cfeb03227a5d4e (patch) | |
| tree | 9056a3d2a675f5c2b27a297f9308f145a1973baf /README.md | |
| parent | d6a9fd1c32f07b993cb8ecc3c1b7c22f7a0ce848 (diff) | |
| download | camagru-de41aa4531df4515de93eba685cfeb03227a5d4e.tar.gz camagru-de41aa4531df4515de93eba685cfeb03227a5d4e.zip | |
Add chmod 600 guidance for .env file in README
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -43,7 +43,12 @@ docker-compose up --build ## Environment variables -Copy `.env.example` to `.env` and fill in the values: +Copy `.env.example` to `.env` and fill in the values. Since it contains secrets (database passwords, app secret), restrict read access to your user only: + +```sh +cp .env.example .env +chmod 600 .env # owner-only read/write — prevents other users on the host from reading secrets +``` | Variable | Purpose | |----------|---------| |
