Sign in
agent:

docker-compose mode for DagKnows

There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.

This is a simple mode of installation that can work on a single machine. Requirements are:

  • minimum 16GB RAM
  • minimum 2 vCPUs
  • minimum 100GB disk
  • Linux OS, any flavor is fine
  1. 1

    Install docker

    There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.
    1
    1. 1.1

      Ubuntu: install docker

      There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.
      sudo apt-get update sudo apt-get install -y docker.io docker --version
      copied
      1.1
    2. 1.2

      Redhat: install docker

      There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.
      sudo yum update sudo yum install docker
      copied
      1.2
  2. 2

    Install docker-compose

    There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.
    2
    1. 2.1

      Ubuntu: install docker-compose

      There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.
      sudo apt-get update sudo apt-get install -y docker-compose
      copied
      2.1
    2. 2.2

      Redhat: install docker-compose

      There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.
      sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
      copied
      2.2
  3. 3

    Clone the git repo

    There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.
    git clone https://github.com/dagknows/dagknows_docker_compose.git
    copied
    3
  4. 4

    Install the app

    There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.
    4
    1. 4.1

      Move to the cloned repo

      There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.
      cd dagknows_docker_compose
      copied
      4.1
    2. 4.2

      Make modifications to the environment variables

      There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.

      open the .env file in this folder and modify the following variables for the superuser (you):

      • SUPER_USER : This is the email of the superuser
      • SUPER_PASSWORD : Initial password for the superuser. You can change it later after login.
      • SUPER_USER_FIRSTNAME : Your first name
      • SUPER_USER_LASTNAME : Your last name
      • SUPER_USER_ORG : Your organization name


      The following values are needed in case you plan to add more users and invite them via email. These settings will enable sending the sign up email to those users

      • MAIL_SERVER : Your email server.
      • MAIL_USERNAME : Your user name in case the sign up emails should go on your behalf
      • MAIL_PASSWORD : Your email server password
      • MAIL_DEFAULT_SENDER: Your email again
      4.2
    3. 4.3

      Create local directories for mapping databases

      There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.
      mkdir esdata1
      copied
      4.3
    4. 4.4

      Bring up the app

      There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.
      sudo docker-compose up -d
      copied
      4.4
  5. 5

    Login to DagKnows

    There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.

    Use your SUPER_USER and SUPER_PASSWORD to log in

    5
  6. 6

    Update the App

    There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.

    When new images are released you can update the app by pulling the latest images as shown below by running the commands in dkapp folder.

    # Bring down the app make down
    copied
    6
    1. 6.1

      Update images

      There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.
      make pull
      copied
      6.1
    2. 6.2

      Restart the DB

      There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.

      Start the DB with this command and ensure that DB is up and running

      make updb dblogs
      copied
      6.2
    3. 6.3

      Start the app

      There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.

      Once the database is up, start the app

      make up logs
      copied
      6.3