fix: use port 5433 for Docker PostgreSQL to avoid conflicts with local instance
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
# Database
|
# Database
|
||||||
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/template
|
DATABASE_URL=postgresql://postgres:postgres@localhost:5433/template
|
||||||
|
|
||||||
# Payload CMS
|
# Payload CMS
|
||||||
PAYLOAD_SECRET=your-secret-here
|
PAYLOAD_SECRET=your-secret-here
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ services:
|
|||||||
image: postgres:16-alpine
|
image: postgres:16-alpine
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "5432:5432"
|
- "5433:5432"
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_USER: postgres
|
POSTGRES_USER: postgres
|
||||||
POSTGRES_PASSWORD: postgres
|
POSTGRES_PASSWORD: postgres
|
||||||
|
|||||||
Reference in New Issue
Block a user