Skip to content

Files

Latest commit

 

History

History

docker

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Docker Compose to Launch Identfy

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.

Requirements

  • Docker
  • Ngrok (Optional). Necessary if you want to use Ngrok as a mechanism to generate a public URL

Quick Start

  1. 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.
  2. Edit the .env file and set the public URL of the application, for example:
    PUBLIC_URL=<PUBLIC_URL>
    
  3. Run
docker compose build
docker compose up
  1. Access the public URL defined in the PUBLIC_URL variable.

Ngrok

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