Skip to content

Commit 98f39d0

Browse files
committed
omit postgres upgrade section
1 parent 1ab2232 commit 98f39d0

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/concepts/managed-storage/managed-postgres.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ You can also set the following optional environment variables to configure the m
3838
You can connect to the managed Postgres instance using the name of your service as the hostname, `POSTGRES_USER`, `POSTGRES_DB`, and `POSTGRES_PASSWORD` environment variables.
3939

4040
### Example
41+
:::info
42+
For a smoother experience with Defang, we recommend using Postgres 14 for your container images. This version provides easier access and improved usability.
43+
:::
4144

4245
```yaml
4346
app:
@@ -55,7 +58,7 @@ You can connect to the managed Postgres instance using the name of your service
5558
# reference config variables by using ${<config name>}
5659
CONNECTURL: postgresql://postgres:${POSTGRES_PASSWORD}@database:5432/postgres?sslmode=require
5760
database:
58-
image: postgres:15
61+
image: postgres:14
5962
x-defang-postgres: true
6063
ports:
6164
- mode: host
@@ -69,6 +72,7 @@ You can connect to the managed Postgres instance using the name of your service
6972

7073
```
7174

75+
<!--
7276
### Major Version Updating of Engine
7377
7478
To update the database engine you can simply update the image to a later version in your compose file and apply it via ```defang compose up --provider=aws```. In the example below, we change from Postgres 15 to 16.
@@ -85,4 +89,4 @@ to
8589
```
8690
database:
8791
image: postgres:16
88-
```
92+
``` -->

0 commit comments

Comments
 (0)