mirror of
https://github.com/zitadel/zitadel.git
synced 2025-11-01 00:46:23 +00:00
chore: use postgres 17 (#10797)
# Which Problems Are Solved The current cache interface implementation for postgres is not compatible with Postgres18, since we rely on partitioned unlogged tables, which are no longer supported. # How the Problems Are Solved Use postgres 17 and update compatibility in the docs. # Additional Changes None # Additional Context - requires backport to v3.x, v4.x
This commit is contained in:
2
.github/workflows/core-integration-test.yml
vendored
2
.github/workflows/core-integration-test.yml
vendored
@@ -19,7 +19,7 @@ jobs:
|
||||
group: zitadel-public
|
||||
services:
|
||||
postgres:
|
||||
image: postgres
|
||||
image: postgres:17
|
||||
ports:
|
||||
- 5432:5432
|
||||
env:
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
|
||||
PostgreSQL is the default database for ZITADEL due to its reliability, robustness, and adherence to SQL standards. It is well-suited for handling the complex data requirements of an identity management system.
|
||||
|
||||
If you are using Zitadel v2 and want to use a PostgreSQL database you can [overwrite the default configuration](../configure/configure.mdx).
|
||||
If you are using Zitadel v2 and want to use a PostgreSQL database, you can [overwrite the default configuration](../configure/configure.mdx).
|
||||
|
||||
Currently versions >= 14 are supported.
|
||||
Currently, versions 14 to 17 are supported.
|
||||
|
||||
Postgres can be configured as follows:
|
||||
```yaml
|
||||
|
||||
@@ -3,7 +3,7 @@ version: '3.8'
|
||||
services:
|
||||
postgres:
|
||||
restart: 'always'
|
||||
image: 'postgres:latest'
|
||||
image: 'postgres:17'
|
||||
environment:
|
||||
- POSTGRES_USER=zitadel
|
||||
- PGUSER=zitadel
|
||||
|
||||
Reference in New Issue
Block a user