🔒 SECURITY: Remove .env from history, add .env.example, sanitize README

Made-with: Cursor
This commit is contained in:
2026-03-12 11:13:47 +01:00
parent 774c414f17
commit 4d95823108
3 changed files with 46 additions and 6 deletions

View File

@@ -39,10 +39,9 @@ SUPER_ADMIN_USER_PASSWORD=your-secure-password-here
Example:
```bash
NODE_ENV=production
POSTGRES_PASSWORD="8*6&Ti3TJxN^"
PGADMIN_DEFAULT_EMAIL="info@phx-erp.de"
PGADMIN_DEFAULT_PASSWORD="8*6&Ti3TJxN^"
SUPER_ADMIN_USER_PASSWORD=123
POSTGRES_PASSWORD="your-secure-postgres-password"
PGADMIN_DEFAULT_EMAIL="admin@yourdomain.com"
SUPER_ADMIN_USER_PASSWORD=your-secure-password-here
```
⚠️ IMPORTANT: ONE-TIME SETTING ONLY
@@ -85,4 +84,4 @@ You can access log services like pgAdmin, Postgres, Phoenix ERP, and others afte
| **Service** | **URL** | **Credentials** |
|------------------|----------------------------------|----------------------------------------------------|
| **Phoenix ERP** | [http://HOST_IP](http://HOST_IP) | login: superadmin and password as configured in `.env` -> `SUPER_ADMIN_USER_PASSWORD` |
| **pgAdmin** | [http://HOST_IP/pgadmin4/](http://HOST_IP/pgadmin4/) | Email: `info@phx-erp.de` <br> Password: from `SUPER_ADMIN_USER_PASSWORD` |
| **pgAdmin** | [http://HOST_IP/pgadmin4/](http://HOST_IP/pgadmin4/) | Email: from `PGADMIN_DEFAULT_EMAIL` <br> Password: from `SUPER_ADMIN_USER_PASSWORD` |