Search…
Docker

Setup

  1. 1.
    Option: Use docker-compose (recommended)
    1. 1.
      1. Checkout the docker-compose file from github: https://github.com/labsai/EDDI/blob/master/docker-compose.yml
      1. 1.
        2. Run Docker Command:docker-compose up
  2. 2.
    Option: Launch docker containers manually
Start a MongoDB instance using the MongoDB docker image:
1
docker run --name mongodb -e MONGODB_DBNAME=eddi -d mongo
Copied!
Start EDDI:

No Authentication

1
docker run --name eddi -e "EDDI_ENV=production" --link mongodb:mongodb -p 7070:7070 -p 7443:7443 -d labsai/eddi
Copied!

Basic Authentication Enabled

(default username: eddi , default password: labsai):
1
docker run --name eddi -e "EDDI_ENV=production" -e "EDDI_JAVA_ENV_BASIC_AUTH_ENABLED: webServer.securityHandlerType=basic" --link mongodb:mongodb -p 7070:7070 -p 7443:7443 -d labsai/eddi
Copied!

Basic Authentication Enabled (set credentials)

(set credentials on first run):
1
docker run --name eddi -e "EDDI_ENV=production" -e "EDDI_JAVA_ENV_BASIC_AUTH_ENABLED: webServer.securityHandlerType=basic" -e "EDDI_JAVA_ENV_BASIC_AUTH_USERNAME: webServer.webServer.basicAuth.defaultUsername=eddi" -e "EDDI_JAVA_ENV_BASIC_AUTH_PASSWORD: webServer.webServer.basicAuth.defaultPassword=labsai" --link mongodb:mongodb -p 7070:7070 -p 7443:7443 -d labsai/eddi
Copied!

Keycloak Enabled

(default authenticates over auth.labs.ai keycloak instance):
1
docker run --name eddi -e "EDDI_ENV=production" -e "EDDI_JAVA_ENV_KEYCLOAK_ENABLED: webServer.securityHandlerType=keycloak" --link mongodb:mongodb -p 7070:7070 -p 7443:7443 -d labsai/eddi
Copied!
When E.D.D.I is up and running:
Last modified 1yr ago