From 96e17e32abae15b5418cd70f77a4c86d6ed38871 Mon Sep 17 00:00:00 2001 From: Elio Bischof Date: Wed, 15 Jun 2022 10:44:58 +0200 Subject: [PATCH] fix configure compose --- docs/docs/guides/installation/configure/configure.mdx | 10 ++++++++-- .../guides/installation/configure/docker-compose.yaml | 8 ++++---- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/docs/docs/guides/installation/configure/configure.mdx b/docs/docs/guides/installation/configure/configure.mdx index 271fcba1f2..c8c716f2f2 100644 --- a/docs/docs/guides/installation/configure/configure.mdx +++ b/docs/docs/guides/installation/configure/configure.mdx @@ -20,7 +20,7 @@ See a description of all possible _runtime configuration_ options with their def The `zitadel` binary expects the `--config` flag for this configuration. ### Database Initialization -Apart from these options, ZITADEL uses a [different configuration](https://github.com/zitadel/zitadel/blob/v2-alpha/cmd/adminn/setup/steps.yaml) for _database initialization steps_. +Apart from these options, ZITADEL uses a [different configuration](https://github.com/zitadel/zitadel/blob/v2-alpha/cmd/admin/setup/steps.yaml) for _database initialization steps_. The `zitadel` binary expects the `--steps` flag for this configuration. ### Split Configuration @@ -65,8 +65,14 @@ For example, if you want to configure the default ZITADEL IAM admin username and +Open your favorite internet browser and navigate to [http://localhost:8080/ui/console](http://localhost:8080/ui/console). +This is the IAM admin users login according to your configuration in the [example-zitadel-init-steps.yaml](./example-zitadel-init-steps.yaml): +- **username**: *root@zitadel.localhost* +- **password**: *RootPassword1!* + ## What's next -- If you want to run ZITADEL in production, you most certainly need to [customize your own domain](./custom-domain). + +If you want to run ZITADEL in production, you most certainly need to [customize your own domain](./custom-domain). :::caution diff --git a/docs/docs/guides/installation/configure/docker-compose.yaml b/docs/docs/guides/installation/configure/docker-compose.yaml index f6a11d577e..a0b4d8ae47 100644 --- a/docs/docs/guides/installation/configure/docker-compose.yaml +++ b/docs/docs/guides/installation/configure/docker-compose.yaml @@ -7,7 +7,7 @@ services: networks: - 'zitadel' image: 'ghcr.io/zitadel/zitadel:v2.0.0-v2-alpha.25-amd64' - command: 'admin start-from-init --config /tmp/example-zitadel-config.yaml --config /tmp/example-zitadel-secrets.yaml --steps /tmp/example-zitadel-init-steps.yaml --masterkey "${ZITADEL_MASTERKEY}"' + command: 'admin start-from-init --config /example-zitadel-config.yaml --config /example-zitadel-secrets.yaml --steps /example-zitadel-init-steps.yaml --masterkey "${ZITADEL_MASTERKEY}"' healthcheck: test: ["CMD", "zitadel", "admin", "status", "health"] interval: '10s' @@ -20,9 +20,9 @@ services: ports: - '8080:8080' volumes: - - '/tmp/example-zitadel-config.yaml:/tmp/example-zitadel-config.yaml:ro' - - '/tmp/example-zitadel-secrets.yaml:/tmp/example-zitadel-secrets.yaml:ro' - - '/tmp/example-zitadel-init-steps.yaml:/tmp/example-zitadel-init-steps.yaml:ro' + - './example-zitadel-config.yaml:/example-zitadel-config.yaml:ro' + - './example-zitadel-secrets.yaml:/example-zitadel-secrets.yaml:ro' + - './example-zitadel-init-steps.yaml:/example-zitadel-init-steps.yaml:ro' - 'zitadel-certs:/crdb-certs:ro' chown: