Docker Compose file for launching an instance of Identfy for testing purposes.
The environment variable DEVELOPER_MOCKUP_ENTITIES is activated to avoid the need to define integration endpoints, generating empty credentials.
- Docker
- Ngrok (Optional). Necessary if you want to use Ngrok as a mechanism to generate a public URL
- Define environment variables. They can be passed via the command line, but the easiest way is to copy the .env.example file as .env and edit it.
- Edit the .env file and set the public URL of the application, for example:
PUBLIC_URL=<PUBLIC_URL>
- Run
docker compose build
docker compose up
- Access the public URL defined in the PUBLIC_URL variable.
An easy way to generate a public URL for testing is by using Ngrok. There are different ways to run Ngrok. If you have Node.js, you can run the following:
npx ngrok http 8000