Identety is designed to be easy to deploy and configure. The recommended way to get started with Identety is using Docker Compose, which provides a convenient way to run Identety and its required PostgreSQL database.
docker-compose.yml
file with the following content:Replace your-secure-api-key
with a strong API key. This key will be used to secure your Identety deployment.
Start the services using Docker Compose:
This command will download the necessary Docker images and start Identety and its PostgreSQL database in the background.
http://localhost:3000
. You can now start making API requests to the Identety endpoints.If you prefer to run Identety using Docker without Docker Compose, you can use the following command:
Replace <your-database-url>
with the URL of your PostgreSQL database. For example:
If you want to pass locallly installed postgresql url to docker contaier, use host.docker.internal:
as host name.
For example:
postgresql://user:password@localhost:5432/identety
will be changed to postgresql://user:password@host.docker.internal:5432/identety
Ensure that you have a running PostgreSQL database accessible at the provided URL.
With Identety up and running, you can now:
Refer to the API documentation for detailed information on using the Identety endpoints.