Public Repository

Last pushed: 2 months ago
Short Description
Web client for ZooNavigator, web-based browser/editor for ZooKeeper
Full Description

What is ZooNavigator?

ZooNavigator is a web-based browser/editor for ZooKeeper.

See ZooNavigator GitHub repository for info on features, screenshots and more.

With Docker Compose

version: '2.1'

services:
  web:
    image: elkozmon/zoonavigator-web:latest
    container_name: zoonavigator-web
    environment:
      SERVER_HTTP_PORT: 8000
      API_HOST: "api"
      API_PORT: 9000
    ports:
     - "8000:8000"
    links:
     - api
    depends_on:
     - api
    restart: always
  api:
    image: elkozmon/zoonavigator-api:latest
    container_name: zoonavigator-api
    environment:
      SERVER_HTTP_PORT: 9000
    restart: always

Then navigate to http://localhost:8000 in your browser.

Without Docker Compose

You need provide ZooNavigator Web container with information on how to connect to ZooNavigator API. The easiest way to achieve this is by linking the containers like so:

docker run -d \
    -p 8000:8000 \
    --env API_HOST=api \
    --env API_PORT=9000 \
    --link zoonavigator-api:api \
    --name zoonavigator-web \
    elkozmon/zoonavigator-web:latest

Then navigate to http://localhost:8000 in your browser.

Configuration

Use any of environment variables listed below to configure your container.

Environment variable Description Default
SERVER_HTTP_PORT Port on which the Web server will run. 8000
API_HOST Host of the ZooNavigator API server. api
API_PORT Port of the ZooNavigator API server. 9000
API_REQUEST_TIMEOUT_MILLIS Time in milliseconds. If API does not respond to a request after this period, the request will fail with timeout error. 10000

License

The project is licensed under Affero General Public License version 3.0 (AGPLv3).

Docker Pull Command
Owner
elkozmon

Comments (0)