Skip to content
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions samples/nextjs-postgres/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ For this sample, you will need to provide the following [configuration](https://
### `POSTGRES_PASSWORD`
A password that will be used to connect to the Postgres database.

## Database Configuration

This sample is configured to work with standard PostgreSQL containers that don't have SSL enabled. The production configuration uses `POSTGRES_SSL: false` to ensure compatibility with the default `postgres:16` Docker image. If you're using a managed PostgreSQL service with SSL support, you can set `POSTGRES_SSL: true` in your compose.yaml file.


## Deploying

Expand Down
2 changes: 1 addition & 1 deletion samples/nextjs-postgres/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ services:
POSTGRES_HOST: database
POSTGRES_PORT: 5432
POSTGRES_DB: postgres
POSTGRES_SSL: true
POSTGRES_SSL: false
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3000" ]
depends_on:
Expand Down