--- title: Download and adjust the example configuration file containing standard configuration --- import CodeBlock from '@/components/docusaurus/code-block'; import ExampleZITADELConfigSource from "./example-zitadel-config.yaml" import ExampleZITADELSecretsSource from "./example-zitadel-secrets.yaml" import ExampleZITADELInitStepsSource from "./example-zitadel-init-steps.yaml" ### Configure by Files By executing the commands below, you will download the following files:
example-zitadel-config.yaml {ExampleZITADELConfigSource}
example-zitadel-secrets.yaml {ExampleZITADELSecretsSource}
example-zitadel-init-steps.yaml {ExampleZITADELInitStepsSource}
```bash # Download and adjust the example configuration file containing standard configuration wget https://raw.githubusercontent.com/zitadel/zitadel/main/docs/self-hosting/manage/configure/example-zitadel-config.yaml # Download and adjust the example configuration file containing secret configuration wget https://raw.githubusercontent.com/zitadel/zitadel/main/docs/self-hosting/manage/configure/example-zitadel-secrets.yaml # Download and adjust the example configuration file containing database initialization configuration wget https://raw.githubusercontent.com/zitadel/zitadel/main/docs/self-hosting/manage/configure/example-zitadel-init-steps.yaml # A single ZITADEL instance always needs the same 32 characters long masterkey # If you haven't done so already, you can generate a new one # The key must be passed as argument ZITADEL_MASTERKEY="$(LC_ALL=C tr -dc '[:graph:]' ./zitadel-masterkey # Let the zitadel binary read configuration from environment variables zitadel start-from-init --masterkey "${ZITADEL_MASTERKEY}" --tlsMode disabled --masterkeyFile ./zitadel-masterkey ```