adorable-businessperson-74291
11/23/2022, 7:50 PMUnable to ping the database connection, retrying. audience=application error=map[message:failed to connect to `host=localhost user=keto database=keto`: dial error (dial tcp [::1]:5433: connect: cannot assign requested address) stack_trace:stack trace could not be recovered from error type *pgconn.connectError] service_name=Ory Keto service_version=v0.10.0-alpha.0
adorable-businessperson-74291
11/23/2022, 7:51 PMadorable-businessperson-74291
11/23/2022, 7:51 PMversion: '3.8'
services:
db:
image: postgres
restart: always
volumes:
- ./postgres-data:/var/lib/postgresql/data
- ./data/create_tables.sql:/docker-entrypoint-initdb.d/create_tables.sql
ports:
- "${DB_PORT}:${DB_PORT}"
environment:
- POSTGRES_USER=${DB_USERNAME}
- POSTGRES_PASSWORD=${DB_PASSWORD}
- POSTGRES_DB=${DB_NAME}
keto-db:
image: postgres
restart: always
ports:
- "5433:5432"
environment:
- POSTGRES_USER=keto
- POSTGRES_PASSWORD=keto
- POSTGRES_DB=keto
keto:
image: oryd/keto:v0.10.0-alpha.0
ports:
- "4466:4466"
- "4467:4467"
command: serve -c /home/ory/keto.yml
restart: on-failure
volumes:
- type: bind
source: .
target: /home/ory
adorable-businessperson-74291
11/23/2022, 7:52 PMsteep-lamp-91158