Skip to content

Commit

Permalink
feat: use fixed versions for docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Oct 19, 2020
1 parent 72c03f9 commit e73c4ce
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
2 changes: 2 additions & 0 deletions quickstart-crdb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ version: '3.7'

services:
kratos-migrate:
image: oryd/kratos:v0.5.0-alpha.1
environment:
- DSN=cockroach://root@cockroachd:26257/defaultdb?sslmode=disable&max_conns=20&max_idle_conns=4

kratos:
image: oryd/kratos:v0.5.0-alpha.1
environment:
- DSN=cockroach://root@cockroachd:26257/defaultdb?sslmode=disable&max_conns=20&max_idle_conns=4

Expand Down
2 changes: 2 additions & 0 deletions quickstart-mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ version: '3.7'

services:
kratos-migrate:
image: oryd/kratos:v0.5.0-alpha.1
environment:
- DSN=mysql://root:secret@tcp(mysqld:3306)/mysql?max_conns=20&max_idle_conns=4

kratos:
image: oryd/kratos:v0.5.0-alpha.1
environment:
- DSN=mysql://root:secret@tcp(mysqld:3306)/mysql?max_conns=20&max_idle_conns=4

Expand Down
2 changes: 2 additions & 0 deletions quickstart-postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ version: '3.7'

services:
kratos-migrate:
image: oryd/kratos:v0.5.0-alpha.1
environment:
- DSN=postgres://kratos:secret@postgresd:5432/kratos?sslmode=disable&max_conns=20&max_idle_conns=4

kratos:
image: oryd/kratos:v0.5.0-alpha.1
environment:
- DSN=postgres://kratos:secret@postgresd:5432/kratos?sslmode=disable&max_conns=20&max_idle_conns=4

Expand Down
6 changes: 3 additions & 3 deletions quickstart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3.7'

services:
kratos-migrate:
image: oryd/kratos:latest-sqlite
image: oryd/kratos:v0.5.0-alpha.1-sqlite
environment:
- DSN=sqlite:///var/lib/sqlite/db.sqlite?_fk=true&mode=rwc
volumes:
Expand All @@ -22,7 +22,7 @@ services:
- intranet

kratos-selfservice-ui-node:
image: oryd/kratos-selfservice-ui-node:latest
image: oryd/kratos-selfservice-ui-node:v0.5.0-alpha.1
environment:
- KRATOS_PUBLIC_URL=http://kratos:4433/
- KRATOS_ADMIN_URL=http://kratos:4434/
Expand All @@ -33,7 +33,7 @@ services:
kratos:
depends_on:
- kratos-migrate
image: oryd/kratos:latest-sqlite
image: oryd/kratos:v0.5.0-alpha.1-sqlite
ports:
- "4433:4433" # public
- "4434:4434" # admin
Expand Down

0 comments on commit e73c4ce

Please sign in to comment.