Skip to content

Commit

Permalink
fix: docker-compose-postgres.yml SQL migration service (#779)
Browse files Browse the repository at this point in the history
  • Loading branch information
hanyuancheung committed Oct 29, 2021
1 parent 8d8dde0 commit 8f041bc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,9 @@
./keto-patch 0.02s user 0.01s system 6% cpu 0.425 total
```

- Bugfix docker-compose-postgres.yml bug with Migrations were not applied
([bf09c33](https://github.com/ory/keto/commit/bf09c33194aed71e9800ff38bfc4449be24dcf7a))

# [0.7.0-alpha.1](https://github.com/ory/keto/compare/v0.7.0-alpha.0...v0.7.0-alpha.1) (2021-10-19)

This release provides small docs fixes especially for SDK clients.
Expand Down
9 changes: 7 additions & 2 deletions docker-compose-postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,22 @@ version: '3.2'
services:

keto-migrate:
image: oryd/keto:v0.6.0-alpha.1
image: oryd/keto:v0.7.0-alpha.0
links:
- postgresd:postgresd
volumes:
- type: bind
source: .
target: /home/ory
environment:
- LOG_LEVEL=debug
- DSN=postgres://dbuser:secret@postgresd:5432/accesscontroldb?sslmode=disable
command:
migrate sql postgres://dbuser:secret@postgresd:5432/accesscontroldb?sslmode=disable
restart: on-failure

keto:
image: oryd/keto:v0.6.0-alpha.1
image: oryd/keto:v0.7.0-alpha.0
links:
- postgresd:postgresd
depends_on:
Expand Down

0 comments on commit 8f041bc

Please sign in to comment.