feat: configure PostgreSQL database and fix TypeScript types

- Updated docker-compose.yml to use postgres:17-alpine
- Database credentials: ogb/ogb_dev_password/ogb_web
- Updated .env.example with correct PostgreSQL connection string
- Fixed plugins/index.ts to include Project type in SEO generateTitle/generateURL
- Changed site title from 'Payload Website Template' to 'OGB Solutions'
- Database ready for dev server startup
This commit is contained in:
2025-11-18 08:55:49 +01:00
parent d6a61b8499
commit 598a4c47e9
3 changed files with 16 additions and 34 deletions
+1 -4
View File
@@ -1,8 +1,5 @@
# Database connection string
DATABASE_URI=mongodb://127.0.0.1/your-database-name
# Or use a PG connection string
#DATABASE_URI=postgresql://127.0.0.1:5432/your-database-name
DATABASE_URI=postgres://ogb:ogb_dev_password@localhost:5432/ogb_web
# Used to encrypt JWT tokens
PAYLOAD_SECRET=YOUR_SECRET_HERE