Skip to content
zetarisPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Latest commit

 

History

58 Commits

Folders and files

Repository files navigation

Zetaris-Freemium-Docker

This repo is for the docker image to run the zetaris-ui , zetaris-api the zetaris-server containers on your local machine.

Prerequisites

• You have installed the latest version of Docker Desktop. -->https://docs.docker.com/get-docker/

• You have installed a Git client. --> https://git-scm.com/downloads

Setup

  • Pull the latest Freemium image for zetaris github repo

    git clone https://github.com/zetaris/Freemium.git

Login to azure docker repo

  • Login to Docker to get authenticated by running the commands below in a Windows Powershell

    docker login

Start docker

Windows specific

On windows , we need to convert the files to unix mode. In the Windows Powershell ,ensure that you are in the path of the cloned repo eg : C:\Users\john.doe\Freemium

./windows_convert.sh

Start dockers

  • Now we can pull the images by running

    docker-compose pull
     docker-compose up

Add user

docker-compose  exec -it  zetaris-server /home/zetaris/lightning/bin/dev-account.sh admin@zetaris.com P@55w0rd! Zetaris  

a user admin@zetaris.com will be added and password is P@55w0rd!

KNOWN ISSUES

Log Errors

When the docker starts, it will start 4 different docker images at the same time, api and gui will need the server to be ready So at the beginning, there will be some warnings like below, this is ok if server is still starting, it will stop once sever is fully started

2023-10-19 21:28:32 2023.10.19 10:28:32:606 HikariPool-1 connection adder WARN org.zetarisapache.hive.jdbc.HiveConnection
2023-10-19 21:28:32     Failed to connect to zetaris-server:10000
2023-10-19 21:28:32     Failed to connect to zetaris-server:10000
2023-10-19 21:28:32     Failed to connect to zetaris-server:10000

Server

The driver docker image might seems to fail if the images don't execute in the correct order, if the above warning keeps going, you may go to docker desktop console to restart it if it hangs You just need to restart the zetaris-server only until it starts successfully

Third party jdbc support

User can download their own jdbc driver and copy it over to customer_data/lib/jdbc directory, those jars will be loaded to the platform when docker starts. For example, on linux

mkdir -p customer_data/lib/jdbc
cp your_jdbc.jar customer_data/lib/jdbc

Restart the zetaris-server container in docker console

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages