agent: |
docker-compose mode for DagKnows
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
- 1DpvEh1YKOhdC7g31OheJInstall docker
1
There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.inputsoutputs1- 1.1HkjRxridfhYmVPCjO1rEUbuntu: install docker
1.1
There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.inputsoutputssudo apt-get update sudo apt-get install -y docker.io docker --versioncopied1.1 - 1.2CwmdwqFcDomgbY4MMuQPRedhat: install docker
1.2
There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.inputsoutputssudo yum update sudo yum install dockercopied1.2
- 2iVCYdjtC4PZKlkxah0AFInstall docker-compose
2
There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.inputsoutputs2- 2.1w2xMXcnA4oCT33wBqvNZUbuntu: install docker-compose
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.inputsoutputssudo apt-get update sudo apt-get install -y docker-composecopied2.1 - 2.2D0xiRQ5Um4M7U6yfh9XtRedhat: install docker-compose
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.inputsoutputssudo 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-composecopied2.2
- 3nmWos4MnYs0T8pb8aIx7Clone the git repo
3
There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.inputsoutputsgit clone https://github.com/dagknows/dagknows_docker_compose.gitcopied3 - 4H22UMDpfR7V0h8ZFvvYoInstall the app
4
There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.inputsoutputs4- 4.1BkIbLmVSUSKATyNJnMwbMove to the cloned repo
4.1
There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.inputsoutputscd dagknows_docker_composecopied4.1 - 4.2Jjkl66OatKglIUpU4FYoMake modifications to the environment variables
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
inputsoutputs4.2 - 4.3S3IXM2heVjxCoIMsF5LVCreate local directories for mapping databases
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.inputsoutputsmkdir esdata1copied4.3 - 4.4XlzmG7W8zvZh0s4XEZoEBring up the app
4.4
There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.inputsoutputssudo docker-compose up -dcopied4.4
- 5pQpXM2PPkG73lCbBJU3pLogin to DagKnows
5
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
inputsoutputs5 - 6IpFCJxy8D6fTvdSv181ZUpdate the App
6
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.
inputsoutputs# Bring down the app make downcopied6- 6.1lOs2dPOSYPphsizSLf2zUpdate images
6.1
There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.inputsoutputsmake pullcopied6.1 - 6.2A8TMyZGGKrxXZd12sA2JRestart the DB
6.2
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
inputsoutputsmake updb dblogscopied6.2 - 6.3dWLed6YD7nvVEEq9JAyIStart the app
6.3
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
inputsoutputsmake up logscopied6.3