Some checks failed
CI / Run lints and checks (push) Failing after 47s
CI / Run tests (push) Failing after 1s
CI / Run race tests (push) Failing after 5s
CI / Build CLI docs (push) Has been skipped
CI / Run buf actions (push) Failing after 5s
CodeQL / Analyze (go) (push) Failing after 3s
CodeQL / Analyze (javascript) (push) Failing after 2s
Docker Image Scanners / scanners (push) Failing after 3s
Format / format (push) Failing after 3s
Synchronize Issue Labels / Synchronize Issue Labels (push) Has been skipped
CI / Generate release (push) Has been skipped
CI / Draft newsletter (push) Has been skipped
CI / Pending approval Slack notification (push) Has been skipped
CI / Send newsletter (push) Has been skipped
38 lines
910 B
YAML
38 lines
910 B
YAML
version: "3.2"
|
|
services:
|
|
keto-migrate:
|
|
image: oryd/keto:v26.2.0
|
|
links:
|
|
- postgresd:postgresd
|
|
volumes:
|
|
- type: bind
|
|
source: ./config
|
|
target: /home/ory
|
|
environment:
|
|
- LOG_LEVEL=debug
|
|
- DSN=postgres://dbuser:secret@postgresd:5432/accesscontroldb?sslmode=disable
|
|
command: ["migrate", "up", "-y"]
|
|
restart: on-failure
|
|
keto:
|
|
image: oryd/keto:v0.11.1-alpha.0
|
|
links:
|
|
- postgresd:postgresd
|
|
volumes:
|
|
- type: bind
|
|
source: ./config
|
|
target: /home/ory
|
|
ports:
|
|
- "4466:4466"
|
|
- "4467:4467"
|
|
depends_on:
|
|
- keto-migrate
|
|
environment:
|
|
- DSN=postgres://dbuser:secret@postgresd:5432/accesscontroldb?sslmode=disable
|
|
restart: on-failure
|
|
postgresd:
|
|
image: postgres:9.6
|
|
environment:
|
|
- POSTGRES_USER=dbuser
|
|
- POSTGRES_PASSWORD=secret
|
|
- POSTGRES_DB=accesscontroldb
|