add: custom postgress data path for coolify docker compose

This commit is contained in:
2025-11-25 19:13:26 +01:00
parent 615f2dbb8d
commit 064f864bdb
3 changed files with 22 additions and 5 deletions

View File

@@ -39,6 +39,15 @@ Required:
- `NODE_ENV` - Set to `production`
- `PORT` - Default `3000`
Optional (Docker Compose):
- `POSTGRES_USER` - Database user (default: `wishlistuser`)
- `POSTGRES_PASSWORD` - Database password (default: `wishlistpassword`)
- `POSTGRES_DB` - Database name (default: `wishlist`)
- `POSTGRES_DATA_PATH` - Custom path for PostgreSQL data
- Example: `/mnt/storage/wishlist/postgres`
- Must be an absolute path
- Directory must exist with proper permissions
## Database Setup
```bash