mirror of
https://codeberg.org/MarkusThielker/next-ory.git
synced 2025-07-01 20:49:18 +00:00
NORY-36: add Ory Keto to Docker Compose setup
This commit is contained in:
parent
9a44023b70
commit
07c0d3b696
3 changed files with 80 additions and 0 deletions
43
docker/ory-dev/ory/keto/keto.yaml
Normal file
43
docker/ory-dev/ory/keto/keto.yaml
Normal file
|
@ -0,0 +1,43 @@
|
|||
#
|
||||
# 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
|
||||
|
||||
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
|
Loading…
Add table
Add a link
Reference in a new issue