Installing ZITADEL on NixOS Latest
This tutorial will guide you through the process of installing ZITADEL on NixOS Latest platform. ZITADEL is an open source IAM solution based on the OAuth 2.0 protocol with adaptable consent for an improved user experience.
Prerequisites
Before you proceed with the installation, make sure you have the following prerequisites ready:
- An instance of NixOS Latest
- Access to the terminal of the NixOS instance
- An internet connection
Installing ZITADEL
Open the terminal of your NixOS instance.
Clone the ZITADEL repository using the following command:
$ git clone https://github.com/caos/zitadel.gitSwitch to the ZITADEL directory:
$ cd zitadelInstall the necessary dependencies by running:
$ sudo nix shell nixpkgs#jq nixpkgs#curl --command trueGenerate the configuration for ZITADEL using:
$ ./dependent/clean-config.sh $ ./dependent/gen-config.shEdit the generated configuration file (
zitadel.development.local.yml) to suit your needs.Install the database using the following command:
$ docker-compose -f dependent/docker-compose.yml up -dStart ZITADEL with the following command:
$ docker-compose -f docker-compose.yml upGo to your web browser and navigate to
localhost:8282. You should be able to see the ZITADEL login page.
Congratulations! You have successfully installed ZITADEL on NixOS Latest. You can now start managing your identity access with ZITADEL.