Public | Automated Build

Last pushed: 2 years ago
Short Description
Gearman & MySql
Full Description

Quick start

$ docker run -d --name=db \
  -e MYSQL_ROOT_PASSWORD=pass \
  -e MYSQL_DATABASE=gearman \
  -e MYSQL_USER=gearman \
  -e MYSQL_PASSWORD=gearman \
  mysql:5.6

$ docker run --link=db \
  -e MYSQL_HOST=db \
  -e MYSQL_DB=gearman \
  -e MYSQL_USER=gearman \
  -e MYSQL_PASSWORD=gearman \
  z7zmey/gearman-mysql

or docker-compose.yaml

gearman:
  container_name: kismia_gearman
  image: z7zmey/gearman-mysql
  links:
    - gearman_db
  environment:
    GEARMAN_PORT: 4730 #default 4730
    MYSQL_HOST: gearman_db
    MYSQL_PORT: 3306 #default 3306
    MYSQL_USER: gearman #default root
    MYSQL_PASSWORD: gearman
    MYSQL_DB: gearman #default gearman
    MYSQL_TABLE: gearman_queue #default gearman_queue
  ports:
    - "4730:4730"

gearman_db:
  container_name: kismia_gearman_db
  image: mysql:5.6
  environment:
    MYSQL_USER: gearman
    MYSQL_ROOT_PASSWORD: gearman
    MYSQL_PASSWORD: gearman
    MYSQL_DATABASE: gearman
Docker Pull Command
Owner
z7zmey
Source Repository

Comments (0)