mirror of
https://github.com/zitadel/zitadel.git
synced 2025-02-28 17:37:23 +00:00
docs(installation): fix guides (#3878)
* docs(installation): download traefik config * docs(installation): remove unnecessary zitadel user certs
This commit is contained in:
parent
f3d9c45174
commit
974d6eb79d
@ -22,20 +22,10 @@ services:
|
||||
chown:
|
||||
image: 'cockroachdb/cockroach:v22.1.0'
|
||||
entrypoint: [ '/bin/bash', '-c' ]
|
||||
command: [ 'cp /certs/ca.crt /zitadel-certs/ && cp /certs/client.root.crt /zitadel-certs/ && cp /certs/client.root.key /zitadel-certs/ && cp /certs/client.zitadel_user.crt /zitadel-certs/ && cp /certs/client.zitadel_user.key /zitadel-certs/ && chown 1000:1000 /zitadel-certs/* && chmod 0400 /zitadel-certs/*' ]
|
||||
command: [ 'cp /certs/ca.crt /zitadel-certs/ && cp /certs/client.root.crt /zitadel-certs/ && cp /certs/client.root.key /zitadel-certs/ && chown 1000:1000 /zitadel-certs/* && chmod 0400 /zitadel-certs/*' ]
|
||||
volumes:
|
||||
- 'certs:/certs:ro'
|
||||
- 'zitadel-certs:/zitadel-certs:rw'
|
||||
depends_on:
|
||||
client-certs:
|
||||
condition: 'service_completed_successfully'
|
||||
|
||||
client-certs:
|
||||
image: 'cockroachdb/cockroach:v22.1.0'
|
||||
command: 'cert create-client --certs-dir /certs/ --ca-key /certs/ca.key zitadel_user'
|
||||
restart: 'on-failure'
|
||||
volumes:
|
||||
- 'certs:/certs:rw'
|
||||
depends_on:
|
||||
my-cockroach-db:
|
||||
condition: 'service_healthy'
|
||||
|
@ -9,7 +9,7 @@ services:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
volumes:
|
||||
- "./traefik.yaml:/etc/traefik/traefik.yaml"
|
||||
- "./example-traefik.yaml:/etc/traefik/traefik.yaml"
|
||||
|
||||
zitadel:
|
||||
restart: 'always'
|
||||
@ -30,20 +30,10 @@ services:
|
||||
chown:
|
||||
image: 'cockroachdb/cockroach:v22.1.0'
|
||||
entrypoint: [ '/bin/bash', '-c' ]
|
||||
command: [ 'cp /certs/ca.crt /zitadel-certs/ && cp /certs/client.root.crt /zitadel-certs/ && cp /certs/client.root.key /zitadel-certs/ && cp /certs/client.zitadel_user.crt /zitadel-certs/ && cp /certs/client.zitadel_user.key /zitadel-certs/ && chown 1000:1000 /zitadel-certs/* && chmod 0400 /zitadel-certs/*' ]
|
||||
command: [ 'cp /certs/ca.crt /zitadel-certs/ && cp /certs/client.root.crt /zitadel-certs/ && cp /certs/client.root.key /zitadel-certs/ && chown 1000:1000 /zitadel-certs/* && chmod 0400 /zitadel-certs/*' ]
|
||||
volumes:
|
||||
- 'certs:/certs:ro'
|
||||
- 'zitadel-certs:/zitadel-certs:rw'
|
||||
depends_on:
|
||||
client-certs:
|
||||
condition: 'service_completed_successfully'
|
||||
|
||||
client-certs:
|
||||
image: 'cockroachdb/cockroach:v22.1.0'
|
||||
command: 'cert create-client --certs-dir /certs/ --ca-key /certs/ca.key zitadel_user'
|
||||
restart: 'on-failure'
|
||||
volumes:
|
||||
- 'certs:/certs:rw'
|
||||
depends_on:
|
||||
my-cockroach-db:
|
||||
condition: 'service_healthy'
|
||||
|
@ -13,6 +13,7 @@ The setup is tested against Docker version 20.10.17 and Docker Compose version v
|
||||
|
||||
By executing the commands below, you will download the following files:
|
||||
- [docker-compose.yaml](./docker-compose.yaml)
|
||||
- [example-traefik.yaml](./example-traefik.yaml)
|
||||
- [example-zitadel-config.yaml](./example-zitadel-config.yaml)
|
||||
- [example-zitadel-secrets.yaml](./example-zitadel-secrets.yaml)
|
||||
- [example-zitadel-init-steps.yaml](./example-zitadel-init-steps.yaml)
|
||||
@ -21,6 +22,9 @@ By executing the commands below, you will download the following files:
|
||||
# Download the docker compose example configuration. For example:
|
||||
wget https://raw.githubusercontent.com/zitadel/zitadel/v2-alpha/docs/docs/guides/installation/loadbalancing-example/docker-compose.yaml
|
||||
|
||||
# Download the docker compose example configuration. For example:
|
||||
wget https://raw.githubusercontent.com/zitadel/zitadel/v2-alpha/docs/docs/guides/installation/loadbalancing-example/example-traefik.yaml
|
||||
|
||||
# Download and adjust the example configuration file containing standard configuration
|
||||
wget https://raw.githubusercontent.com/zitadel/zitadel/v2-alpha/docs/docs/guides/installation/loadbalancing-example/example-zitadel-config.yaml
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user