Running CTIMS with docker

To deploy CTIMS using Docker, follow these steps:

  1. Clone the repository

  2. Make a copy of the example environment file:

  3. cp .env.example .env

  4. Modify the .env file with the necessary keycloak environment variables.

  • KEYCLOAK_CLIENT_SECRET is the keycloak client secret

  • NEXT_AUTH_API_URL is the authentication through next.js authentication, the value should point to <name of backend image>:port/api

  • PRISMA_FIELD_ENCRYPTION_KEY is the key used for encrypting the contents of the database so that trial information is kept secure.

  1. Build the docker images using `docker-compose build --no-cache`

  2. Run the Docker containers using `docker-compose up`

  3. Access CTIMS in your browser at `http://localhost:3000`.

Last updated