Skip to content

harshal1906/Freemium

 
 

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 dev account

docker-compose exec -it zetaris-db /scripts/generate_default_dev_users.sh

a user [email protected] will be added and password is password

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

Add dev account again in case you see an authentication error while logging in with the [email protected] credentials

docker-compose exec -it zetaris-db /scripts/generate_default_dev_users.sh

a user [email protected] will be added and password is password

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 83.6%
  • Dockerfile 16.4%