Skip to content

Commit

Permalink
fix: strict version enforcement in docker
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Apr 1, 2021
1 parent 888ac43 commit e45b28f
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 8 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ format: .bin/goimports
install:
go install -tags sqlite .

.PHONY: docker
docker:
docker build -t oryd/keto:latest -f .docker/Dockerfile-build .

# Generates the SDKs
.PHONY: sdk
sdk: .bin/swagger .bin/cli
Expand Down
4 changes: 2 additions & 2 deletions contrib/cat-videos-example/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3'

services:
keto:
image: oryd/keto:latest
image: oryd/keto:v0.6.0-alpha.1
ports:
- '4466:4466'
- '4467:4467'
Expand All @@ -14,7 +14,7 @@ services:
target: /home/ory

keto-init:
image: oryd/keto:latest
image: oryd/keto:v0.6.0-alpha.1
environment:
- KETO_WRITE_REMOTE=keto:4467
volumes:
Expand Down
4 changes: 2 additions & 2 deletions docker-compose-mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: '3'
services:

keto-migrate:
image: oryd/keto:latest
image: oryd/keto:v0.6.0-alpha.1
links:
- postgresd:postgresd
environment:
Expand All @@ -14,7 +14,7 @@ services:
restart: on-failure

keto:
image: oryd/keto:latest
image: oryd/keto:v0.6.0-alpha.1
links:
- postgresd:postgresd
depends_on:
Expand Down
4 changes: 2 additions & 2 deletions docker-compose-postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: '3'
services:

keto-migrate:
image: oryd/keto:latest
image: oryd/keto:v0.6.0-alpha.1
links:
- postgresd:postgresd
environment:
Expand All @@ -13,7 +13,7 @@ services:
restart: on-failure

keto:
image: oryd/keto:latest
image: oryd/keto:v0.6.0-alpha.1
links:
- postgresd:postgresd
depends_on:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3'

services:
keto:
image: oryd/keto:latest
image: oryd/keto:v0.6.0-alpha.1
ports:
- "4466:4466"
- "4467:4467"
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ video service client would do. In this example we will use the Keto CLI client.
If you want to run the Keto CLI within **Docker**, set the alias

```shell
alias keto="docker run -it --network cat-videos-example_default -e KETO_READ_REMOTE=\"keto:4466\" oryd/keto:latest"
alias keto="docker run -it --network cat-videos-example_default -e KETO_READ_REMOTE=\"keto:4466\" oryd/keto:v0.6.0-alpha.1"
```

in your terminal session. Alternatively, you need to set the remote endpoint so
Expand Down

0 comments on commit e45b28f

Please sign in to comment.