#!/bin/bash # Source: https://raw.githubusercontent.com/rgl/incus-playground/349480b30d82ca1b468cb6e983988c7cb01343e3/provision-openfga.sh set -euxo pipefail POSTGRES_FQDN="localhost" OPENFGA_FQDN="localhost" # configure. # see https://openfga.dev/docs/getting-started/setup-openfga/configure-openfga # see https://github.com/openfga/openfga/blob/v1.5.2/internal/server/config/config.go#L189 # see https://github.com/openfga/openfga/blob/v1.5.2/internal/server/config/config.go#L341 cat >/opt/openfga/config.yaml </etc/systemd/system/openfga.service <