Public Repository

Last pushed: 2 months ago
Short Description
API 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

docker run -d \
    --env SERVER_HTTP_PORT=9000 \
    --name zoonavigator-api \
    elkozmon/zoonavigator-api:latest

Once you have that running, you need to run ZooNavigator Web.

Configuration

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

Environment variable Description Default
SERVER_HTTP_PORT Port on which the API server will run. 9000
SESSION_TTL_MILLIS Time in milliseconds. Users inactive for this duration will be automatically logged out. 900000
ZK_CLIENT_TTL_MILLIS Time in milliseconds. ZooKeeper connections that are unused for this duration will be closed. 5000
ZK_CONNECT_TIMEOUT_MILLIS Time in milliseconds. If connection can't be established for this duration, the connection will be aborted. 5000

License

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

Docker Pull Command
Owner
elkozmon

Comments (0)