mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 16:47:32 +00:00
docs: replace fix cockroachdb version with latest stable (#6803)
This commit is contained in:
@@ -143,7 +143,7 @@ Self-Service
|
|||||||
- [Administration UI (Console)](https://zitadel.com/docs/guides/manage/console/overview)
|
- [Administration UI (Console)](https://zitadel.com/docs/guides/manage/console/overview)
|
||||||
|
|
||||||
Deployment
|
Deployment
|
||||||
- [Postgres](https://zitadel.com/docs/self-hosting/manage/database#postgres) (version >= 14) or [CockroachDB](https://zitadel.com/docs/self-hosting/manage/database#cockroach) (version >= 22.0)
|
- [Postgres](https://zitadel.com/docs/self-hosting/manage/database#postgres) (version >= 14) or [CockroachDB](https://zitadel.com/docs/self-hosting/manage/database#cockroach) (version latest stable)
|
||||||
- [Zero Downtime Updates](https://zitadel.com/docs/concepts/architecture/solution#zero-downtime-updates)
|
- [Zero Downtime Updates](https://zitadel.com/docs/concepts/architecture/solution#zero-downtime-updates)
|
||||||
|
|
||||||
Track upcoming features on our [roadmap](https://zitadel.com/roadmap).
|
Track upcoming features on our [roadmap](https://zitadel.com/roadmap).
|
||||||
|
@@ -98,7 +98,7 @@ spec:
|
|||||||
topologyKey: kubernetes.io/hostname
|
topologyKey: kubernetes.io/hostname
|
||||||
containers:
|
containers:
|
||||||
- name: cockroachdb
|
- name: cockroachdb
|
||||||
image: cockroachdb/cockroach:v22.2.2
|
image: cockroachdb/cockroach:latest
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
# TODO: Change these to appropriate values for the hardware that you're running. You can see
|
# TODO: Change these to appropriate values for the hardware that you're running. You can see
|
||||||
# the resources that can be allocated on each of your Kubernetes nodes by running:
|
# the resources that can be allocated on each of your Kubernetes nodes by running:
|
||||||
|
@@ -26,7 +26,7 @@ services:
|
|||||||
restart: 'always'
|
restart: 'always'
|
||||||
networks:
|
networks:
|
||||||
- 'zitadel'
|
- 'zitadel'
|
||||||
image: 'cockroachdb/cockroach:v22.2.2'
|
image: 'cockroachdb/cockroach:latest'
|
||||||
command: 'start-single-node --insecure'
|
command: 'start-single-node --insecure'
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "curl", "-f", "http://localhost:8080/health?ready=1"]
|
test: ["CMD", "curl", "-f", "http://localhost:8080/health?ready=1"]
|
||||||
|
@@ -20,7 +20,7 @@ services:
|
|||||||
restart: 'always'
|
restart: 'always'
|
||||||
networks:
|
networks:
|
||||||
- 'zitadel'
|
- 'zitadel'
|
||||||
image: 'cockroachdb/cockroach:v22.2.2'
|
image: 'cockroachdb/cockroach:latest'
|
||||||
command: 'start-single-node --insecure'
|
command: 'start-single-node --insecure'
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "curl", "-f", "http://localhost:8080/health?ready=1"]
|
test: ["CMD", "curl", "-f", "http://localhost:8080/health?ready=1"]
|
||||||
|
@@ -12,7 +12,7 @@ import NoteInstanceNotFound from './troubleshooting/_note_instance_not_found.mdx
|
|||||||
## Install CockroachDB
|
## Install CockroachDB
|
||||||
|
|
||||||
Download a `cockroach` binary as described [in the CockroachDB docs](https://www.cockroachlabs.com/docs/stable/install-cockroachdb).
|
Download a `cockroach` binary as described [in the CockroachDB docs](https://www.cockroachlabs.com/docs/stable/install-cockroachdb).
|
||||||
ZITADEL is tested against CockroachDB v22.2.2 and Ubuntu 20.04.
|
ZITADEL is tested against CockroachDB latest stable tag and Ubuntu 20.04.
|
||||||
|
|
||||||
## Run CockroachDB
|
## Run CockroachDB
|
||||||
|
|
||||||
|
@@ -28,7 +28,7 @@ services:
|
|||||||
- 'zitadel-certs:/crdb-certs:ro'
|
- 'zitadel-certs:/crdb-certs:ro'
|
||||||
|
|
||||||
certs:
|
certs:
|
||||||
image: 'cockroachdb/cockroach:v22.2.2'
|
image: 'cockroachdb/cockroach:latest'
|
||||||
entrypoint: [ '/bin/bash', '-c' ]
|
entrypoint: [ '/bin/bash', '-c' ]
|
||||||
command: [ 'cp /certs/* /zitadel-certs/ && cockroach cert create-client --overwrite --certs-dir /zitadel-certs/ --ca-key /zitadel-certs/ca.key zitadel_user && chown 1000:1000 /zitadel-certs/*' ]
|
command: [ 'cp /certs/* /zitadel-certs/ && cockroach cert create-client --overwrite --certs-dir /zitadel-certs/ --ca-key /zitadel-certs/ca.key zitadel_user && chown 1000:1000 /zitadel-certs/*' ]
|
||||||
volumes:
|
volumes:
|
||||||
@@ -42,7 +42,7 @@ services:
|
|||||||
restart: 'always'
|
restart: 'always'
|
||||||
networks:
|
networks:
|
||||||
- 'zitadel'
|
- 'zitadel'
|
||||||
image: 'cockroachdb/cockroach:v22.2.2'
|
image: 'cockroachdb/cockroach:latest'
|
||||||
command: 'start-single-node --advertise-addr my-cockroach-db'
|
command: 'start-single-node --advertise-addr my-cockroach-db'
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "curl", "-f", "http://localhost:8080/health?ready=1"]
|
test: ["CMD", "curl", "-f", "http://localhost:8080/health?ready=1"]
|
||||||
|
@@ -11,7 +11,7 @@ import NoteInstanceNotFound from './troubleshooting/_note_instance_not_found.mdx
|
|||||||
## Install CockroachDB
|
## Install CockroachDB
|
||||||
|
|
||||||
Download a `cockroach` binary as described [in the CockroachDB docs](https://www.cockroachlabs.com/docs/stable/install-cockroachdb).
|
Download a `cockroach` binary as described [in the CockroachDB docs](https://www.cockroachlabs.com/docs/stable/install-cockroachdb).
|
||||||
ZITADEL is tested against CockroachDB v22.2.2.
|
ZITADEL is tested against CockroachDB latest stable tag.
|
||||||
|
|
||||||
## Run CockroachDB
|
## Run CockroachDB
|
||||||
|
|
||||||
|
@@ -19,7 +19,7 @@ services:
|
|||||||
- "zitadel-certs:/crdb-certs:ro"
|
- "zitadel-certs:/crdb-certs:ro"
|
||||||
|
|
||||||
certs:
|
certs:
|
||||||
image: "cockroachdb/cockroach:v22.2.2"
|
image: "cockroachdb/cockroach:latest"
|
||||||
entrypoint: ["/bin/bash", "-c"]
|
entrypoint: ["/bin/bash", "-c"]
|
||||||
command:
|
command:
|
||||||
[
|
[
|
||||||
@@ -36,7 +36,7 @@ services:
|
|||||||
restart: "always"
|
restart: "always"
|
||||||
networks:
|
networks:
|
||||||
- "zitadel"
|
- "zitadel"
|
||||||
image: "cockroachdb/cockroach:v22.2.2"
|
image: "cockroachdb/cockroach:latest"
|
||||||
command: "start-single-node --advertise-addr my-cockroach-db"
|
command: "start-single-node --advertise-addr my-cockroach-db"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "curl", "-f", "http://localhost:8080/health?ready=1"]
|
test: ["CMD", "curl", "-f", "http://localhost:8080/health?ready=1"]
|
||||||
|
@@ -32,7 +32,7 @@ services:
|
|||||||
|
|
||||||
db:
|
db:
|
||||||
restart: 'always'
|
restart: 'always'
|
||||||
image: 'cockroachdb/cockroach:v22.2.10'
|
image: 'cockroachdb/cockroach:latest'
|
||||||
command: 'start-single-node --insecure --http-addr :9090'
|
command: 'start-single-node --insecure --http-addr :9090'
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ['CMD', 'curl', '-f', 'http://localhost:9090/health?ready=1']
|
test: ['CMD', 'curl', '-f', 'http://localhost:9090/health?ready=1']
|
||||||
|
Reference in New Issue
Block a user