fix: compatibility for cockroach v22.1 (#3754)

* fix: compatability for cockroach v22.1

* update cr version in docs and compose

* bind dev cockroach to 127.0.0.1

* Revert "bind dev cockroach to 127.0.0.1"

This reverts commit 1c7c6304ae.

* remove --listen-addr flag

* use v2.0.0-v2-alpha.16

* use v2.0.0-v2-alpha.17

Co-authored-by: Elio Bischof <eliobischof@gmail.com>
This commit is contained in:
Livio Amstutz
2022-06-01 11:41:01 +02:00
committed by GitHub
parent 66b6ef7f04
commit 32afa77b97
7 changed files with 19 additions and 17 deletions

View File

@@ -5,7 +5,7 @@ services:
restart: always
networks:
- zitadel
image: ghcr.io/zitadel/zitadel:v2.0.0-v2-alpha.3-amd64
image: ghcr.io/zitadel/zitadel:v2.0.0-v2-alpha.17-amd64
command: admin start-from-init --masterkey "MasterkeyNeedsToHave32Characters"
environment:
- ZITADEL_DATABASE_HOST=db
@@ -27,8 +27,8 @@ services:
restart: always
networks:
- zitadel
image: cockroachdb/cockroach:v21.2.5
command: start-single-node --insecure --listen-addr=0.0.0.0
image: cockroachdb/cockroach:v22.1.0
command: start-single-node --insecure
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/health?ready=1"]
interval: 10s