Skip to content
This repository has been archived by the owner on Mar 3, 2021. It is now read-only.

jujhars13/gearman-ui.docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gearman UI Docker image

Docker image for Gearman UI, a small PHP application providing a minimal monitoring dashboard for a cluster of Gearman Job Servers.

Forked on 2015-12-18 from koryonik/gearman-ui.docker to add some of our own spices

dockeri.co

Usage

To run the server and expose the port:

With Docker

$ docker run -it --rm --name=gearmanui -p 8085:80 \ 
	--link gearman:gearman jujhars13/gearman-ui

With Fig / Docker compose

gearmanui:
	image: koryonik/gearman-ui
		ports:
		- "8085:80"
		links:
		- gearman

gearman:
	image: pataquets/gearmand
	ports:
    	- '4730:4730'

Configuration

If you need to link multiple Gearman servers, or change other application settings, create & mount your own config file gearmanui.yml :

# gearmanui.yml

# The list of servers to monitor.
gearmanui.servers:
    - name: "Gearmand#1"
      addr: "gearman1:4730"
    - name: "Gearmand#2"
      addr: "1.2.3.4:4730"

# General settings.
gearmanui.settings:
    # Server info refresh interval, in seconds.
    # The javascript will ajax the server every 'refresh_interval' seconds for new information.
    refresh_interval: 5

# By default, only log errors. Check \Monolog\Logger for valid values.
monolog.level: 400

And mount file :

$ docker run -it --rm --name=gearmanui -p 8085:80 \
	--link gearman:gearman koryonik/gearman-ui \
	"$PWD"/gearmanui.yml:/gearmanui/app/config/gearmanui.yml

Misc

local dev

docker build -t dev ./ && docker run -v $PWD/gearmanui:/gearmanui -ti --entrypoint=/bin/bash -p 8081:80 dev
docker build -t dev ./ && docker run --link gearman:gearman -v $PWD/gearmanui:/gearmanui -p 8081:80 dev

About

Gearman UI Docker image

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 50.2%
  • HTML 28.9%
  • JavaScript 18.5%
  • CSS 1.9%
  • ApacheConf 0.5%