Skip to content

Commit 2f6eff2

Browse files
Copilotlionello
andcommitted
Add defang config command example for POSTGRES_SSL configuration
Co-authored-by: lionello <[email protected]>
1 parent 43fb6ac commit 2f6eff2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

samples/nextjs-postgres/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,11 @@ A password that will be used to connect to the Postgres database.
2727

2828
## Database Configuration
2929

30-
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.
30+
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, or override it using `defang config`:
31+
32+
```bash
33+
defang config set POSTGRES_SSL=true
34+
```
3135

3236

3337
## Deploying

0 commit comments

Comments
 (0)