datallama/db

By datallama

Updated 4 days ago

MariaDb 10.4.x application database container for the Data Llama Augmented Data Catalog

Image
Data Science
Machine Learning & AI
Developer Tools

320

This image must be run in conjunction with images in repositories datallama/api and datallama/ui. You can pull and start all three images by copying the yaml content below and saving it to a file named docker-compose.yaml in any directory on your host (~/tmp/datallama is recommended):

# Create a file named docker-compose.yaml with the content listed here.
# If docker or docker-compose are not already installed on your host, follow the instructions at https://docs.docker.com/engine/install/ and
# https://docs.docker.com/compose/install/ to install them.
version: "3.7"
services:
  api:
    image: datallama/api:2.7.8
    container_name: datallama_api
    pull_policy: always
    ports:
      - 8081:8080
    restart: always

  ui:
    image: datallama/ui:2.7.8
    container_name: datallama_ui
    ports:
      - 443:443
    restart: always

  db:
    image: datallama/db:2.7.8
    container_name: datallama_db
    ports:
      - 3307:3306
    environment:
      - MYSQL_ROOT_PASSWORD=secret
    restart: always

The Apache Web Server on the datallama_ui container is configured for HTTPS using a root CA certificate that you must extract from the container and install into your browser of choice as a trusted CA. To extract the root CA cert execute the following command in a temporary directory:

docker cp datallama_ui:/usr/local/apache2/conf/server-ca.crt .

Follow the instructions for your browser of choice to import the server-ca.crt file.

You must also add the following line to your /etc/hosts file:

127.0.0.1    datallama.localdomain

After completing these steps you can connect to Data Llama from you browser of choice on URL https://datallama.localdomain with username admin and password C@melidae

Docker Pull Command

docker pull datallama/db