1
0
Fork 0
mirror of https://codeberg.org/MarkusThielker/next-ory.git synced 2025-04-18 00:21:18 +00:00
next-ory/docker/ory-dev/ory/keto/keto.yaml
2025-04-04 16:20:25 +02:00

45 lines
886 B
YAML

#
# Documentation: https://www.ory.sh/docs/keto/reference/configuration
# Configuration UI: https://www.ory.sh/docs/keto/reference/configuration-editor
#
#
# Configure the Keto logging
#
log:
level: info
format: text
leak_sensitive_values: true
#
# Configure the datasource. Alternative for development purposes is 'memory' (not persistent!)
#
dsn: postgres://postgres:postgres@ory-postgres:5432/keto?sslmode=disable&max_conns=20&max_idle_conns=4
#
# Set the required namespaces
#
namespaces:
- id: 0
name: roles
- id: 1
name: permissions
serve:
read:
host: 0.0.0.0
port: 4466
cors:
enabled: true
allowed_origins:
- http://localhost:3000
- http://localhost:4000
write:
host: 0.0.0.0
port: 4467
cors:
enabled: true
allowed_origins:
- http://localhost:3000
- http://localhost:4000