Sign inSign up

anandimmannavar/azkaban-web

By anandimmannavar

•Updated over 5 years ago

Azkaban 4.0.0 Web Server

Image
1

167

anandimmannavar/azkaban-web repository overview

⁠Dockerizing the Azkaban 4.0 version

Deploy Azkaban Executor and Web Server as Docker Container GitHub Repo - https://github.com/ab6o/azkaban-docker-4.0⁠

⁠Getting Started

This is the docker image for the Azkaban Web Server

⁠Prerequisites

Make sure docker has been installed on your machine, If you're using Mac, Use this link for Docker Setup - https://docs.docker.com/docker-for-mac/install/⁠

⁠Database Setup

Follow the steps to create user, grant permissions and also setup entire DB

Creating Azkaban user with default credentials by logging into MySQL Console, Run the following commands.

mysql> create user 'azkaban'@'%' identified by 'azkaban';

Once the user is created, Create a database name azkaban

mysql> create database azkaban;

Grant permissions to azkaban user for azkaban DB

mysql> grant all privileges on azkaban.* to 'azkaban'@'%';

Once this is done, Let us create all the schema required for Azkaban.

$ mysql -uazkaban -pazkaban azkaban < <Project-Path>/azkaban-4.0.0/azkaban-db//sql/create-all-sql-0.1.0-SNAPSHOT.sql
⁠Multi Executor

Follow the steps to make it working in your Mac

$ docker network create azk-net

This creates bridge network in your local

$ docker run --env AZK_MYSQL_HOST=host.docker.internal --network azk-net -d --rm -p 80:8081 anandimmannavar/azkaban-exec:2.0

Here we are running executor container and connecting it to the bridge network created azk-net

$ docker run --env AZK_MYSQL_HOST=host.docker.internal --network azk-net -d --rm -p 80:8081 anandimmannavar/azkaban-web:2.0

Running Azkaban Web Server and also connect this web server to azk-net bridge network

Tag summary

Content type

Image

Digest

Size

264.5 MB

Last updated

over 5 years ago

docker pull anandimmannavar/azkaban-web:2.0