From 78347accd4f9b285632764006b65ac5243a74a9c Mon Sep 17 00:00:00 2001 From: Jeremy Loy Date: Wed, 30 Apr 2025 13:22:52 -0400 Subject: [PATCH 1/2] update docs with PG 17 support --- .../getting-started/setup-openfga/configure-openfga.mdx | 2 +- docs/content/getting-started/setup-openfga/docker-setup.mdx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/content/getting-started/setup-openfga/configure-openfga.mdx b/docs/content/getting-started/setup-openfga/configure-openfga.mdx index ee14dcff81..397af8aa3b 100644 --- a/docs/content/getting-started/setup-openfga/configure-openfga.mdx +++ b/docs/content/getting-started/setup-openfga/configure-openfga.mdx @@ -28,7 +28,7 @@ The instructions below are for configuring the standalone OpenFGA server. If you OpenFGA supports multiple storage engine options, including: - `memory` - A memory storage engine, which is the default. Data is lost between server restarts. -- `postgres` - A Postgres storage engine. +- `postgres` - A Postgres storage engine. Versions 14 and 17 are supported. - `mysql` - A MySQL storage engine. - `sqlite` - A SQLite storage engine. diff --git a/docs/content/getting-started/setup-openfga/docker-setup.mdx b/docs/content/getting-started/setup-openfga/docker-setup.mdx index 60a027b010..817d18a727 100644 --- a/docs/content/getting-started/setup-openfga/docker-setup.mdx +++ b/docs/content/getting-started/setup-openfga/docker-setup.mdx @@ -42,7 +42,7 @@ docker network create openfga You can then start Postgres in the network you created above: ```shell -docker run -d --name postgres --network=openfga -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=password postgres:14 +docker run -d --name postgres --network=openfga -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=password postgres:17 ``` You should now have Postgres running in a container in the `openfga` network. However, it will not have the tables required for running OpenFGA. You can use the `migrate` command to create the tables. Using the OpenFGA container, this will look like: @@ -74,7 +74,7 @@ networks: services: postgres: - image: postgres:14 + image: postgres:17 container_name: postgres networks: - openfga From 85487a8d1dca41409b3fb8978a8888d3f8fa44e7 Mon Sep 17 00:00:00 2001 From: Jeremy Loy Date: Mon, 19 May 2025 12:23:07 -0400 Subject: [PATCH 2/2] remove reference to 14 & 17 --- .../content/getting-started/setup-openfga/configure-openfga.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/getting-started/setup-openfga/configure-openfga.mdx b/docs/content/getting-started/setup-openfga/configure-openfga.mdx index 397af8aa3b..ee14dcff81 100644 --- a/docs/content/getting-started/setup-openfga/configure-openfga.mdx +++ b/docs/content/getting-started/setup-openfga/configure-openfga.mdx @@ -28,7 +28,7 @@ The instructions below are for configuring the standalone OpenFGA server. If you OpenFGA supports multiple storage engine options, including: - `memory` - A memory storage engine, which is the default. Data is lost between server restarts. -- `postgres` - A Postgres storage engine. Versions 14 and 17 are supported. +- `postgres` - A Postgres storage engine. - `mysql` - A MySQL storage engine. - `sqlite` - A SQLite storage engine.