fix: use sqlite

This commit is contained in:
2024-10-28 18:03:33 +00:00
parent 6ac41d45a7
commit e32f1dee91
2 changed files with 5 additions and 80 deletions

View File

@@ -46,8 +46,8 @@ log:
format: text
level: info # none, debug, info, warn, error, panic, fatal.
datastore:
engine: postgres
uri: postgres://openfga:abracadabra@$POSTGRES_FQDN:5432/openfga
engine: sqlite
uri: file:/opt/openfga/openfga.db
authn:
method: preshared
preshared:
@@ -55,17 +55,17 @@ authn:
- abracadabra
grpc:
# TODO change this back to :8081 once https://github.com/openfga/openfga/issues/640 is fixed.
addr: $OPENFGA_FQDN:8081
addr: 127.0.0.1:8081
tls:
enabled: false
http:
enabled: true
addr: :8080
addr: 127.0.0.1:8080
tls:
enabled: false
metrics:
enabled: true
addr: :2112
addr: 127.0.0.1:2112
playground:
enabled: false
port: 3000