fix configure compose

This commit is contained in:
Elio Bischof
2022-06-15 10:44:58 +02:00
parent 35cfedfa96
commit 96e17e32ab
2 changed files with 12 additions and 6 deletions

View File

@@ -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
</TabItem>
</Tabs>
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@<span></span>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

View File

@@ -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: