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:
+1
-4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user